Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements

From: Fabrízio de Royes Mello <fabrizio(at)timbira(dot)com(dot)br>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements
Date: 2013-07-26 21:55:21
Message-ID: 51F2F049.2040503@timbira.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 26-07-2013 05:39, Karol Trzcionka wrote:
> W dniu 26.07.2013 02:44, Fabrízio de Royes Mello pisze:
>> Should be... I fix that in attached patch.
> Hello, as I can see there are more inconsistent places.
> First style:
> OperatorCreate
> ---

This style is already right :

if ( ifNotExists )
{
skip
return
}
error

> Second style:
> ProcedureCreate
> TypeCreate
> DefineTSParser
> DefineType
> DefineEnum
> ---
> Third style:
> CreateCast
> DefineTSDictionary
> DefineTSTemplate
> DefineTSConfiguration
> DefineRange
> DefineCompositeType
>

Fixed... thanks.

Regards,

--
Fabrízio de Royes Mello Timbira - http://www.timbira.com.br/
PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

Attachment Content-Type Size
create_if_not_exists_v4.patch text/x-patch 73.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2013-07-26 22:28:05 Re: postgres FDW cost estimation options unrecognized in 9.3-beta1
Previous Message Stephen Frost 2013-07-26 19:19:02 Re: ALTER SYSTEM SET command to change postgresql.conf parameters (RE: Proposal for Allow postgresql.conf values to be changed via SQL [review])