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

From: Amit Langote <amitlangote09(at)gmail(dot)com>
To: Fabrízio Mello <fabriziomello(at)gmail(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements
Date: 2013-06-20 12:59:33
Message-ID: CA+HiwqHpz6osynZNQQ-4J_0qXJfwK_xQ5fmUH=b_UcwJ40L3ag@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jun 20, 2013 at 9:48 PM, Fabrízio de Royes Mello
<fabriziomello(at)gmail(dot)com> wrote:
>
> On Thu, Jun 20, 2013 at 1:52 AM, Amit Langote <amitlangote09(at)gmail(dot)com>
> wrote:
>>
>> Is it possible to:
>>
>> CREATE [ OR REPLACE | IF NOT EXISTS ] OPERATOR CLASS
>>
>> I am in a situation where I need to conditionally create an operator
>> class (that is, create only if already does not exist).
>>
>> [...]
>>
>
> The intention is cover all "CREATE OPERATOR" variants. See my planning [1].
>
>
> Regards,
>
> [1]
> https://docs.google.com/spreadsheet/ccc?key=0Ai7oCVcVQiKFdEctQUxNNlR1R2xRTUpJNFNDcFo4MUE&usp=sharing

Hmm, okay. Last time I checked, the CREATE OPERATOR CLASS row was
empty, so asked.

--
Amit Langote

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabrízio de Royes Mello 2013-06-20 13:17:26 Re: [PATCH] add long options to pgbench (submission 1)
Previous Message Fabien COELHO 2013-06-20 12:59:22 Re: [PATCH] add long options to pgbench (submission 1)