Re: Renaming a constraint

From: Csaba Nagy <nagy(at)ecircle-ag(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Postgres general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: Renaming a constraint
Date: 2008-02-06 16:16:07
Message-ID: 1202314567.29220.73.camel@PCD12478
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 2008-02-06 at 11:03 -0500, Tom Lane wrote:
> IIRC, the name of an FK constraint also appears in the arguments for its
> triggers. If you didn't update those too, the behavior might be a bit
> inconsistent, depending on which PG version you're using. In particular
> I'm not sure which name pg_dump will believe.

OK, I think I'll just give up on renaming them.

How hard would be to implement renaming constraints as an alter table
option ? It sounds to me like it should be a task requiring mostly
legwork than programming skills, would it be good task for a beginner in
C like me ? If it is at all regarded as a needed feature...

Thanks,
Csaba.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2008-02-06 16:18:07 Re: postgresql book - practical or something newer?
Previous Message Tom Hart 2008-02-06 16:15:10 Re: postgresql book - practical or something newer?