On Thu, Jan 26, 2017 at 5:53 AM, Emre Hasegeli <e...@hasegeli.com> wrote: > Though, I know the community is against behaviour changing GUCs. I > will not spend more time on this, before I get positive feedback from > others.
As if on cue, let me say that a behavior-changing GUC sounds like a terrible idea to me. It's almost never good when a GUC can cause the same queries to return answers in different sessions, and even worse, it seems like the GUC might have the effect of letting us build indexes that are only valid for the value of the GUC with which they were built. Backing up a bit here, have we lost track of the problem that we're trying to solve? Tom gave his opinion here: https://www.postgresql.org/message-id/3895.1464791...@sss.pgh.pa.us But I don't see that the latest patch I can find does anything to fix that. Now maybe that's not the problem that Emre is trying to solve, but then it is not very clear to me what problem he IS trying to solve. And I think Kyotaro Horiguchi is trying to solve yet another problem which is again different. So IMHO the first task here is to agree on a clear statement of what we'd like to fix, and then, given a patch, we can judge whether it's fixed. Maybe I'm being dumb here and it's clear to you guys what the issues under discussion are. If so, apologies for that, but the thread has gotten too theoretical for me and I can't figure out what the top-level concern is any more. I believe we all agree these macros are bad, but there seems to be no agreement that I can discern on what would be better or why. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers