Re: IF NOT EXISTS option for CREATE SERVER and CREATE USER MAPPING statements

Anastasia Lubennikova <a.lubennikova@postgrespro.ru>

From: Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
To: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-02-15T17:54:43Z
Lists: pgsql-hackers

Attachments

13.02.2017 19:34, Andrew Dunstan:
>
> On 01/13/2017 08:36 AM, Anastasia Lubennikova wrote:
>> I implemented IF NOT EXISTS option for CREATE SERVER and CREATE USER
>> MAPPING statements
>> for one of our customers.
>> I think other users can also find it useful for scripting and
>> automated tasks.
>> The patches themselves are small and simple. Documentation is updated
>> as well.
>>
>
>
> This looks good and useful. Please add some regression tests.

Done.

-- 
Anastasia Lubennikova
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

Commits

  1. Add IF NOT EXISTS for CREATE SERVER and CREATE USER MAPPING