Re: [patch] ALTER RENAME and indexes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brent Verner <brent(at)rcfile(dot)org>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [patch] ALTER RENAME and indexes
Date: 2001-10-09 04:20:42
Message-ID: 20878.1002601242@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Brent Verner <brent(at)rcfile(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-10-09 04:56:16 Re: PL/pgSQL doc sample bug? (in 7.1.3)
Previous Message John Summerfield 2001-10-09 02:24:45 Re: Beta Wednesday