Re: table rename oddity

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ari Jolma <ajolma(at)water(dot)hut(dot)fi>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: table rename oddity
Date: 2000-05-25 15:15:33
Message-ID: 22829.959267733@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ari Jolma <ajolma(at)water(dot)hut(dot)fi> writes:
> Is this kind of behavior intended. When I try to rename a table to
> a reserved word - I have tried to use 'lseg' which is a type - postgres
> gives me an error but the change has been partly done and the
> only way back seems to be to go to the database directory and
> rename the file. I have tested this with version 7.0.

Boo hiss --- the physical file rename must be the *last* step in
table rename, after all other possible errors have been checked.
Evidently it's not :-(. Will fix.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-05-25 15:18:26 Re: problem with NOTICE: _outNode: don't know how to print type
Previous Message Terry Van Belle 2000-05-25 15:12:27 Public Domain SQL grammars?