Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group