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
- create_foreign_server_if_not_exists_1.0.patch (text/x-patch) patch
- create_user_mapping_if_not_exists_1.0.patch (text/x-patch) patch
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
-
Add IF NOT EXISTS for CREATE SERVER and CREATE USER MAPPING
- b6fb534f10e1 10.0 landed