[COMMITTERS] pgsql: Make equal() ignore CoercionForm fields for better planning with

2012-10-12 Thread Tom Lane
Make equal() ignore CoercionForm fields for better planning with casts. This change ensures that the planner will see implicit and explicit casts as equivalent for all purposes, except in the minority of cases where there's actually a semantic difference (as reflected by having a 3-argument cast f

[COMMITTERS] pgsql: Make equal() ignore CoercionForm fields for better planning with

2012-10-12 Thread Tom Lane
Make equal() ignore CoercionForm fields for better planning with casts. This change ensures that the planner will see implicit and explicit casts as equivalent for all purposes, except in the minority of cases where there's actually a semantic difference (as reflected by having a 3-argument cast f

[COMMITTERS] pgsql: Fix unportable format string.

2012-10-12 Thread Tom Lane
Fix unportable format string. Per compiler warning. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/427fd88552c5ee6e239b776dfa763489251809bc Modified Files -- contrib/pg_test_fsync/pg_test_fsync.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-

[COMMITTERS] pgsql: Get rid of COERCE_DONTCARE.

2012-10-12 Thread Tom Lane
Get rid of COERCE_DONTCARE. We don't need this hack any more. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/a29f7ed5544ef583747c0dcc3fc2afac1fb191ef Modified Files -- src/backend/executor/functions.c|6 +++--- src/backend/nodes/nodeFuncs.c

[COMMITTERS] pgsql: In our source code, make a copy of getopt's 'optarg' string argu

2012-10-12 Thread Bruce Momjian
In our source code, make a copy of getopt's 'optarg' string arguments, rather than just storing a pointer. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/49ec613201b2e9debdf9e9ad9a2ad7c6c8083729 Modified Files -- contrib/pg_archivecleanup/pg_archiveclean

[COMMITTERS] pgsql: Fix oversight in new code for printing rangetable aliases.

2012-10-12 Thread Tom Lane
Fix oversight in new code for printing rangetable aliases. In commit 11e131854f8231a21613f834c40fe9d046926387, I missed the case of a CTE RTE that doesn't have a user-defined alias, but does have an alias assigned by set_rtable_names(). Per report from Peter Eisentraut. While at it, refactor sli