From: | Bruce Momjian - CVS <momjian> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql/src/backend/parser (analyze.c) |
Date: | 2000-08-29 04:20:45 |
Message-ID: | 200008290420.e7T4KjN31154@hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Date: Tuesday, August 29, 2000 @ 00:20:44
Author: momjian
Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/parser
from hub.org:/home/projects/pgsql/tmp/cvs-serv31128/pgsql/src/backend/parser
Modified Files:
analyze.c
----------------------------- Log Message -----------------------------
This is mostly the same as an earlier patch I
didn't hear anything about, but which would
have broken with the function manager changes
anyway.
Well, this patch checks that a unique constraint
of some form (unique or pk) is on the referenced
columns of an FK constraint and that the columns
in the referencing table exist at creation time.
The former is to move closer to SQL compatibility
and the latter is in answer to a bug report.
I also added a basic check of this functionality
to the alter table and foreign key regression
tests.
Stephan Szabo
sszabo(at)bigpanda(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian - CVS | 2000-08-29 04:20:47 | pgsql/src/test/regress/expected (alter_table.out foreign_key.out) |
Previous Message | Bruce Momjian - CVS | 2000-08-29 04:20:44 | pgsql/src/backend/commands (command.c) |