Can I change CITEXT fields to VARCHAR without encountering any surprise difficulties?
Did ancient Germans take pride in leaving the land untouched?
Performance and power usage for Raspberry Pi in the Stratosphere
What's the reason that we have a different number of days each month?
Do the speed limit reductions due to pollution also apply to electric cars in France?
Minimum Viable Product for RTS game?
Is Screenshot Time-tracking Common?
How do I fight with Heavy Armor as a Wizard with Tenser's Transformation?
How can guns be countered by melee combat without raw-ability or exceptional explanations?
Critique vs nitpicking
Renting a 2CV in France
Is it possible to detect 100% of SQLi with a simple regex?
How can I handle players killing my NPC outside of combat?
How to know if I am a 'Real Developer'
What is an efficient way to digitize a family photo collection?
How do I narratively explain how in-game circumstances do not mechanically allow a PC to instantly kill an NPC?
Why did Ylvis use "go" instead of "say" in phrases like "Dog goes 'woof'"?
Smooth projection of a surf plot - tikz/gnuplot
Explicit Riemann Hilbert correspondence
Does red noise even at low values mean a hardware problem with my camera's sensor?
Why do objects rebound after hitting the ground?
Why is it that Bernie Sanders is always called a "socialist"?
Identical projects by students at two different colleges: still plagiarism?
What happened to Hermione’s clothing and other possessions after she wiped her parents’ memories of her?
Is the UK legally prevented from having another referendum on Brexit?
Can I change CITEXT fields to VARCHAR without encountering any surprise difficulties?
I went overboard on CITEXT fields on a particularly large table in my application. I would like to back some of these out as it's confusing how to trigger lookups on the desired indexes.
My question is, can I do this without encountering any major difficulties? And if I change this, do I need to rebuild any indexes on those fields?
Will there be any space gains from moving in this direction?
This is Postgres 10.6.
postgresql citext
add a comment |
I went overboard on CITEXT fields on a particularly large table in my application. I would like to back some of these out as it's confusing how to trigger lookups on the desired indexes.
My question is, can I do this without encountering any major difficulties? And if I change this, do I need to rebuild any indexes on those fields?
Will there be any space gains from moving in this direction?
This is Postgres 10.6.
postgresql citext
add a comment |
I went overboard on CITEXT fields on a particularly large table in my application. I would like to back some of these out as it's confusing how to trigger lookups on the desired indexes.
My question is, can I do this without encountering any major difficulties? And if I change this, do I need to rebuild any indexes on those fields?
Will there be any space gains from moving in this direction?
This is Postgres 10.6.
postgresql citext
I went overboard on CITEXT fields on a particularly large table in my application. I would like to back some of these out as it's confusing how to trigger lookups on the desired indexes.
My question is, can I do this without encountering any major difficulties? And if I change this, do I need to rebuild any indexes on those fields?
Will there be any space gains from moving in this direction?
This is Postgres 10.6.
postgresql citext
postgresql citext
asked 1 min ago
AKWFAKWF
174213
174213
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "182"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f230614%2fcan-i-change-citext-fields-to-varchar-without-encountering-any-surprise-difficul%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Database Administrators Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f230614%2fcan-i-change-citext-fields-to-varchar-without-encountering-any-surprise-difficul%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown