[PATCH] rename column if exists - Mailing list pgsql-hackers

From David Oksman
Subject [PATCH] rename column if exists
Date
Msg-id CAB5BD3Y1n9Xo7YMBGROnVfgSpkk-32AJpK9LUQ6Afq00-N_Tew@mail.gmail.com
Whole thread Raw
Responses Re: [PATCH] rename column if exists
Re: [PATCH] rename column if exists
List pgsql-hackers
Added the ability to specify IF EXISTS when renaming a column of an object (table, view, etc.).
For example: ALTER TABLE distributors RENAME COLUMN IF EXISTS address TO city;
If the column does not exist, a notice is issued instead of throwing an error.
Attachment

pgsql-hackers by date:

Previous
From: Jacob Champion
Date:
Subject: Re: Proposal: Save user's original authenticated identity for logging
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] Custom compression methods