pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Add IF NOT EXISTS for CREATE SERVER and CREATE USER MAPPING
3+ messages / 2 participants
[nested] [flat]
* pgsql: Add IF NOT EXISTS for CREATE SERVER and CREATE USER MAPPING
@ 2017-03-20 20:50 Andrew Dunstan <andrew@dunslane.net>
2017-03-20 23:58 ` Re: pgsql: Add IF NOT EXISTS for CREATE SERVER and CREATE USER MAPPING Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Dunstan @ 2017-03-20 20:50 UTC (permalink / raw)
To: pgsql-committers
Add IF NOT EXISTS for CREATE SERVER and CREATE USER MAPPING
There is still some inconsistency with the error messages surrounding
foreign servers. Some use the word "foreign" and some don't. My
inclination is to remove all such uses of "foreign" on the basis that
the CREATE/ALTER/DROP SERVER commands don't use the word. However, that
is left for another day. In this patch I have kept to the existing usage
in the affected commands, which omits "foreign".
Anastasia Lubennikova, reviewed by Arthur Zakirov and Ashtosh Bapat.
Discussion: http://postgr.es/m/7c2ab9b8-388a-1ce0-23a3-7acf2a0ed3c6@postgrespro.ru
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/b6fb534f10e1dea17dc5641f44cc651b8d60d8f0
Modified Files
--------------
doc/src/sgml/ref/create_server.sgml | 14 ++++++++++-
doc/src/sgml/ref/create_user_mapping.sgml | 14 ++++++++++-
src/backend/commands/foreigncmds.c | 38 ++++++++++++++++++++++++++----
src/backend/parser/gram.y | 23 ++++++++++++++++++
src/include/nodes/parsenodes.h | 2 ++
src/test/regress/expected/foreign_data.out | 6 +++++
src/test/regress/sql/foreign_data.sql | 3 +++
7 files changed, 93 insertions(+), 7 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pgsql: Add IF NOT EXISTS for CREATE SERVER and CREATE USER MAPPING
2017-03-20 20:50 pgsql: Add IF NOT EXISTS for CREATE SERVER and CREATE USER MAPPING Andrew Dunstan <andrew@dunslane.net>
@ 2017-03-20 23:58 ` Tom Lane <tgl@sss.pgh.pa.us>
2017-03-21 01:36 ` Re: pgsql: Add IF NOT EXISTS for CREATE SERVER and CREATE USER MAPPING Andrew Dunstan <andrew@dunslane.net>
0 siblings, 1 reply; 3+ messages in thread
From: Tom Lane @ 2017-03-20 23:58 UTC (permalink / raw)
To: Andrew Dunstan <andrew@dunslane.net>; +Cc: pgsql-committers
Andrew Dunstan <andrew@dunslane.net> writes:
> Add IF NOT EXISTS for CREATE SERVER and CREATE USER MAPPING
Several of the buildfarm members seem not to like this.
If you need more details, I can poke into it on dromedary later tonight.
regards, tom lane
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pgsql: Add IF NOT EXISTS for CREATE SERVER and CREATE USER MAPPING
2017-03-20 20:50 pgsql: Add IF NOT EXISTS for CREATE SERVER and CREATE USER MAPPING Andrew Dunstan <andrew@dunslane.net>
2017-03-20 23:58 ` Re: pgsql: Add IF NOT EXISTS for CREATE SERVER and CREATE USER MAPPING Tom Lane <tgl@sss.pgh.pa.us>
@ 2017-03-21 01:36 ` Andrew Dunstan <andrew@dunslane.net>
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Dunstan @ 2017-03-21 01:36 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers
On 03/20/2017 07:58 PM, Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>> Add IF NOT EXISTS for CREATE SERVER and CREATE USER MAPPING
> Several of the buildfarm members seem not to like this.
>
> If you need more details, I can poke into it on dromedary later tonight.
>
>
Looks like it's triggered by -DCOPY_PARSE_PLAN_TREES
-DRAW_EXPRESSION_COVERAGE_TEST
I'll check the node copy funcs.
cheers
andrew
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2017-03-21 01:36 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-03-20 20:50 pgsql: Add IF NOT EXISTS for CREATE SERVER and CREATE USER MAPPING Andrew Dunstan <andrew@dunslane.net>
2017-03-20 23:58 ` Tom Lane <tgl@sss.pgh.pa.us>
2017-03-21 01:36 ` Andrew Dunstan <andrew@dunslane.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox