| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: pg_constraint and constraint triggers |
| Date: | 2003-04-25 20:51:00 |
| Message-ID: | 29916.1051303860@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-hackers pgsql-hackers |
"Dave Page" <dpage(at)vale-housing(dot)co(dot)uk> writes:
> I couldn't find anything obvious in the archives, but if I dump a
> database created in 7.2, then foreign keys are created using CREATE
> CONSTRAINT TRIGGER statement. These do not appear to create entries in
> pg_constraint in 7.3.x, so as the database is developed further, we end
> up with 2 'styles' of fkeys in the catalogues.
contrib/adddepend/ is supposed to help out with upgrading definitions
loaded from old databases. Possibly you could adapt its logic into
a "fix things" operation in pgAdmin.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sean Chittenden | 2003-04-25 21:39:56 | pg_namespace -> pg_schema? |
| Previous Message | Dave Page | 2003-04-25 20:19:01 | pg_constraint and constraint triggers |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sean Chittenden | 2003-04-25 21:39:56 | pg_namespace -> pg_schema? |
| Previous Message | Dave Page | 2003-04-25 20:19:01 | pg_constraint and constraint triggers |