Re: Ensure all implicit constraints are named
| От | Bruce Momjian |
|---|---|
| Тема | Re: Ensure all implicit constraints are named |
| Дата | |
| Msg-id | 200306062218.h56MIdr19923@candle.pha.pa.us обсуждение исходный текст |
| Ответ на | Ensure all implicit constraints are named (Rod Taylor <rbt@rbt.ca>) |
| Список | pgsql-patches |
Your patch has been added to the PostgreSQL unapplied patches list at:
http://momjian.postgresql.org/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
---------------------------------------------------------------------------
Rod Taylor wrote:
-- Start of PGP signed section.
> If they're not, the below causes problems, as the foreign key is added
> after the CHECK. Cluster depends on the index name, so I thought it
> wise to ensure all names are available, rather than leaving off the
> CONSTRAINT "$n" portion for internally named constraints.
>
> CREATE TABLE jkey (col integer primary key);
> CREATE TABLE j (col integer REFERENCES jkey);
> ALTER TABLE j ADD CHECK(col > 5);
>
>
> This is a problem in 7.3 series as well as -Tip.
>
> --
> Rod Taylor <rbt@rbt.ca>
>
> PGP Key: http://www.rbt.ca/rbtpub.asc
[ Attachment, skipping... ]
-- End of PGP section, PGP failed!
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-patches по дате отправления: