Re: missing rename support - Mailing list pgsql-hackers

From Tom Lane
Subject Re: missing rename support
Date
Msg-id 11703.1358535298@sss.pgh.pa.us
Whole thread Raw
In response to Re: missing rename support  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> * Ali Dar (ali.munir.dar@gmail.com) wrote:
>> Find attached an initial patch for ALTER RENAME RULE feature. Please
>> note that it does not have any documentation yet.

> Just took a quick look through this.  Seems to be alright, but why do we
> allow renaming ON SELECT rules at all, given that they must be named
> _RETURN?  My thinking would be to check for that case and error out if
> someone tries it.

Agreed, we should exclude ON SELECT rules.

> You should try to keep variables lined up:

pgindent is probably a better answer than trying to get this right
manually.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: in-catalog Extension Scripts and Control parameters (templates?)
Next
From: Tom Lane
Date:
Subject: Re: Event Triggers: adding information