Re: Add column if not exists (CINE) - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Add column if not exists (CINE)
Date
Msg-id AANLkTinixy4C0qjxynzR6TAbKBHwSmx_0mc71WOg8-Ks@mail.gmail.com
Whole thread Raw
In response to Re: Add column if not exists (CINE)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Add column if not exists (CINE)
List pgsql-hackers
On Wed, Apr 28, 2010 at 9:15 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> CREATE OR REPLACE is indeed much more complicated.  In fact, for
>> tables, I maintain that you'll need to link with -ldwim to make it
>> work properly.
>
> This may in fact be an appropriate way to handle the case for tables,
> given the complexity of their definitions.

Patch attached.

...Robert

Attachment

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_migrator to /contrib in a later 9.0 beta
Next
From: Robert Haas
Date:
Subject: Re: Invalidating dependent views and functions