postgresql/src
Tom Lane ec59b6deb8 A long time ago, Peter pointed out that ruleutils.c didn't dump simple
constant ORDER/GROUP BY entries properly:
http://archives.postgresql.org/pgsql-hackers/2001-04/msg00457.php
The original solution to that was in fact no good, as demonstrated by
today's report from Martin Pitt:
http://archives.postgresql.org/pgsql-bugs/2008-01/msg00027.php
We can't use the column-number-reference format for a constant that is
a resjunk targetlist entry, a case that was unfortunately not thought of
in the original discussion.  What we can do instead (which did not work
at the time, but does work in 7.3 and up) is to emit the constant with
explicit ::typename decoration, even if it otherwise wouldn't need it.
This is sufficient to keep the parser from thinking it's a column number
reference, and indeed is probably what the user must have done to get
such a thing into the querytree in the first place.
2008-01-06 01:03:46 +00:00
..
backend A long time ago, Peter pointed out that ruleutils.c didn't dump simple 2008-01-06 01:03:46 +00:00
bin Translation updates 2007-09-13 20:56:32 +00:00
corba Convert files from DOS format to normal text. 2000-12-03 14:43:59 +00:00
include Stamp release 7.4.19. 2008-01-03 21:42:17 +00:00
interfaces Stamp release 7.4.19. 2008-01-03 21:42:17 +00:00
makefiles Use -Wl for linker switches on freebsd --- back-port of an 8.0 change. 2007-02-03 17:27:11 +00:00
pl Fix buggy usage of vsnprintf in PL/Python by removing it altogether, instead 2007-11-23 01:48:08 +00:00
port Add port support for unsetenv() in back branches. Needed for locale 2006-01-05 00:51:25 +00:00
template OK, another try at Darwin threads. 2004-07-08 18:25:22 +00:00
test Fix a bug in the original implementation of redundant-join-clause removal: 2007-07-31 19:54:27 +00:00
tools Update release checklist to reflect that HISTORY and INSTALL don't 2005-05-08 23:34:32 +00:00
tutorial Change \' to '', for SQL standards compliance. Backpatch to 7.3, 7.4, 2006-05-21 19:57:07 +00:00
utils Re-add Win32 missing files, I think. 2002-11-02 02:00:35 +00:00
bcc32.mak Attached is a patch to provide makefiles, etc. to allow the compilation 2002-12-30 21:07:26 +00:00
DEVELOPERS just testing a script... 1999-07-30 03:45:57 +00:00
Makefile Assorted fixes for Cygwin: 2002-09-05 18:28:46 +00:00
Makefile.global.in Supress ecpg thread test if configure didn't enable threads. Fix 2003-12-19 23:29:29 +00:00
Makefile.shlib Fix out-of-order inclusion of -L switches from LDFLAGS on AIX and HPUX. 2005-12-03 20:17:00 +00:00
nls-global.mk Run distprep target before creating list of files that contain translatable 2003-09-14 22:40:38 +00:00
win32.mak Remove all traces of multibyte and locale options. Clean up comments 2002-09-03 21:45:44 +00:00