postgresql/src/test/regress
Tom Lane d5a4b69c3a Fix assertion failure when a SELECT DISTINCT ON expression is volatile.
In this case we generate two PathKey references to the expression (one for
DISTINCT and one for ORDER BY) and they really need to refer to the same
EquivalenceClass.  However get_eclass_for_sort_expr was being overly paranoid
and creating two different EC's.  Correct behavior is to use the SortGroupRef
index to decide whether two references to volatile expressions that are
equal() (ie textually equivalent) should be considered the same.

Backpatch to 8.4.  Possibly this should be changed in 8.3 as well, but
I'll refrain in the absence of evidence of a visible failure in that branch.

Per bug #5049.
2009-09-12 00:04:59 +00:00
..
data Avoid regression test cases that fail in locales that sort "v" and "w" 2009-01-19 14:24:13 +00:00
expected Fix assertion failure when a SELECT DISTINCT ON expression is volatile. 2009-09-12 00:04:59 +00:00
input Support hex-string input and output for type BYTEA. 2009-08-04 16:08:37 +00:00
output Support hex-string input and output for type BYTEA. 2009-08-04 16:08:37 +00:00
sql Fix assertion failure when a SELECT DISTINCT ON expression is volatile. 2009-09-12 00:04:59 +00:00
GNUmakefile Update of install-sh, mkinstalldirs, and associated configury 2009-08-26 22:24:44 +00:00
Makefile
parallel_schedule Run the "tablespace" regression test first not last. The former placement 2009-08-24 03:10:16 +00:00
pg_regress_main.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
pg_regress.c Introduce filtering dictionary support to tsearch. Propagate --nolocale option 2009-08-18 10:30:41 +00:00
pg_regress.h Update copyright for 2009. 2009-01-01 17:24:05 +00:00
regress.c Fix executor/spi.h to follow our usual conventions for include files, ie, 2009-01-07 13:44:37 +00:00
regressplans.sh
resultmap
serial_schedule Run the "tablespace" regression test first not last. The former placement 2009-08-24 03:10:16 +00:00