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 Haas||Date: 2011-12-05 15:58:18|
|Subject: Re: cannot read pg_class without having selected a database
/ is this a bug?|
|Previous:||From: Tom Lane||Date: 2011-12-05 15:46:57|
|Subject: Re: cannot read pg_class without having selected a database / is this a bug? |