pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedrename a constraint?
2+ messages / 2 participants
[nested] [flat]
* rename a constraint?
@ 2007-08-30 20:42 Kevin Kempter <kevin@kevinkempterllc.com>
2007-09-02 00:04 ` Re: rename a constraint? Decibel! <decibel@decibel.org>
0 siblings, 1 reply; 2+ messages in thread
From: Kevin Kempter @ 2007-08-30 20:42 UTC (permalink / raw)
To: pgsql-admin
Hi List;
Is there a method/syntax I can use to rename a constraint ?
Thx
/Kevin
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: rename a constraint?
2007-08-30 20:42 rename a constraint? Kevin Kempter <kevin@kevinkempterllc.com>
@ 2007-09-02 00:04 ` Decibel! <decibel@decibel.org>
0 siblings, 0 replies; 2+ messages in thread
From: Decibel! @ 2007-09-02 00:04 UTC (permalink / raw)
To: Kevin Kempter <kevin@kevinkempterllc.com>; +Cc: pgsql-admin
On Thu, Aug 30, 2007 at 02:42:43PM -0600, Kevin Kempter wrote:
> Hi List;
>
> Is there a method/syntax I can use to rename a constraint ?
Not an official one, no... you'll need to create a new one then drop the
old (don't do it the other way or it'll have to re-check everything).
You might also be able to UPDATE the appropriate catalog, but I'm not
sure how safe that is.
--
Decibel!, aka Jim Nasby decibel@decibel.org
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2007-09-02 00:04 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-08-30 20:42 rename a constraint? Kevin Kempter <kevin@kevinkempterllc.com>
2007-09-02 00:04 ` Decibel! <decibel@decibel.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox