Re: missing rename support

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: missing rename support
Date: 2011-12-05 15:54:31
Message-ID: 28134.1323100471@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> I don't think so. There's no ALTER RULE command; should we add one
> (matching ALTER TRIGGER) or make this part of ALTER TABLE? I don't
> think constraints can be renamed either, which should probably be
> addressed along with rules.

Note that renaming an index-based constraint should also rename the
index. I believe the other direction works already.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-12-05 15:58:18 Re: cannot read pg_class without having selected a database / is this a bug?
Previous Message Tom Lane 2011-12-05 15:46:57 Re: cannot read pg_class without having selected a database / is this a bug?