Re: [patch] ALTER RENAME and indexes - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [patch] ALTER RENAME and indexes
Date
Msg-id 20878.1002601242@sss.pgh.pa.us
Whole thread Raw
In response to Re: [patch] ALTER RENAME and indexes  (Brent Verner <brent@rcfile.org>)
List pgsql-hackers
Brent Verner <brent@rcfile.org> writes:
> Thanks for fixing that problem.  Out of curiousity, did you put that
> code in the renameatt() function for any reason, or is it just a 
> style thing?

Just to avoid closing and reopening the target relation and pg_attribute
relation.  Releasing and then reacquiring the lock on pg_attribute
seemed like a not-so-good idea, although it probably shouldn't make any
difference.
        regards, tom lane


pgsql-hackers by date:

Previous
From: KobayashiJunichi
Date:
Subject: PL/pgSQL doc sample bug? (in 7.1.3)
Next
From: Tom Lane
Date:
Subject: Re: PL/pgSQL doc sample bug? (in 7.1.3)