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

From: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
To: Anastasia Lubennikova <a(dot)lubennikova(at)postgrespro(dot)ru>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: IF NOT EXISTS option for CREATE SERVER and CREATE USER MAPPING statements
Date: 2017-02-13 16:34:08
Message-ID: 4c7d935a-397d-16fe-c604-5e398cc1fc03@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

cheers

andrew

--
Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2017-02-13 16:43:59 Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p
Previous Message Robert Haas 2017-02-13 16:33:54 Re: amcheck (B-Tree integrity checking tool)