postgresql/src
Tom Lane 6f28e879dd Fix an ancient oversight in change_varattnos_of_a_node: it neglected to update
varoattno along with varattno.  This resulted in having Vars that were not
seen as equal(), causing inheritance of the "same" constraint from different
parent relations to fail.  An example is

create table pp1 (f1 int check (f1>0));
create table cc1 (f2 text, f3 int) inherits (pp1);
create table cc2(f4 float) inherits(pp1,cc1);

Backpatch as far as 7.4.  (The test case still fails in 7.4, for reasons
that I don't feel like investigating at the moment.)

This is a backpatch commit only.  The fix will be applied in HEAD as part
of the upcoming pg_constraint patch.
2008-05-09 22:37:47 +00:00
..
backend Fix an ancient oversight in change_varattnos_of_a_node: it neglected to update 2008-05-09 22:37:47 +00:00
bin Fix mistakes in pg_ctl's code for "start -w" that tries to cope with 2008-02-20 22:18:35 +00:00
include Defend against JOINs having more than 32K columns altogether. We cannot 2008-04-05 01:58:42 +00:00
interfaces Fixed bug in PGTYPEStimestamp_sub that used pointers instead of the values to substract. 2008-04-10 10:46:34 +00:00
makefiles Add $(CFLAGS) to the simplified build rule for .so libraries on Darwin. 2006-11-28 05:47:16 +00:00
pl Work around for perl 5.10 bug - fix due to perl hacker Simon Cozens. 2008-01-22 20:41:39 +00:00
port Fix a number of places that were making file-type tests infelicitously. 2008-03-31 01:32:48 +00:00
template SUNOS4_CC -> SUNOS_CC. 2005-07-30 03:07:42 +00:00
test Fix ALTER TABLE ADD COLUMN ... PRIMARY KEY so that the new column is correctly 2008-04-24 20:18:15 +00:00
timezone Update to tzdata 2008a distribution (Chilean DST law change). 2008-03-13 19:22:04 +00:00
tools Stamp 8.1.4, except configure/configure.in. 2006-05-19 03:57:17 +00:00
tutorial Use SQL standard '' rather than \' for tutorial/sample code. 2006-05-11 19:21:31 +00:00
utils PostgreSQL extension makefile framework ("pgxs"), by Fabien Coelho, with 2004-07-30 12:26:40 +00:00
bcc32.mak Add -N make flag to bcc builds from /src dir. 2005-05-13 18:12:35 +00:00
DEVELOPERS just testing a script... 1999-07-30 03:45:57 +00:00
Makefile Adjust src/tutorial Makefile so that it can use pgxs. This allows the 2005-01-13 18:23:22 +00:00
Makefile.global.in Fix problems with PGXS builds against an installation tree that was 2005-09-27 17:39:35 +00:00
Makefile.shlib Fix out-of-order inclusion of -L switches from LDFLAGS on AIX and HPUX. 2005-12-03 20:16:39 +00:00
nls-global.mk More locale fixes for pg_ctl. 2004-06-01 03:32:42 +00:00
win32.mak Attached is a makefile I hacked up to build pg_config under MSVC - the 2005-06-14 17:50:38 +00:00