Disallow user-created replication origins named "pg_xxx".
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/logical/origin.c | modified | +10 −0 |
Discussion
- Regression tests vs existing users in an installation 24 messages · 2016-07-15 → 2019-11-26