Re: Rename a column if not already renamed.? - Mailing list pgsql-general

From Tom Lane
Subject Re: Rename a column if not already renamed.?
Date
Msg-id 17271.1566334606@sss.pgh.pa.us
Whole thread Raw
In response to RE: Rename a column if not already renamed.?  ("Day, David" <david.day@redcom.com>)
Responses RE: Rename a column if not already renamed.?
List pgsql-general
"Day, David" <david.day@redcom.com> writes:
> The error is something like column already exists and 

Not sure about the workflow this function is used within, but maybe you
need to consider what to do when both the old and new column names exist.
Because that sure sounds like what is happening.

            regards, tom lane



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Two Postgres master process are showing - one is on and off
Next
From: "Peter J. Holzer"
Date:
Subject: Re: Databases and servers