pgsql: Disallow user-created replication origins named "pg_xxx".

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Disallow user-created replication origins named "pg_xxx".
Date: 2019-06-29 15:34:10
Message-ID: E1hhFMg-0006BD-JU@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Disallow user-created replication origins named "pg_xxx".

Since we generate such names internally, it seems like a good idea
to have a policy of disallowing them for user use, as we do for many
other object types. Otherwise attempts to use them will randomly
fail due to collisions with internally-generated names.

Discussion: https://postgr.es/m/3606.1561747369@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a1e61badf97bc446053145ba40de6db835678ce3

Modified Files
--------------
src/backend/replication/logical/origin.c | 10 ++++++++++
1 file changed, 10 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2019-06-29 20:48:12 Re: UCT (Re: pgsql: Update time zone data files to tzdata release 2019a.)
Previous Message Michael Paquier 2019-06-29 02:23:05 pgsql: Remove unnecessary header from be-secure-gssapi.c