diff options
| author | Noah Misch <noah@leadboat.com> | 2021-06-28 18:34:55 -0700 |
|---|---|---|
| committer | Noah Misch <noah@leadboat.com> | 2021-06-28 18:34:55 -0700 |
| commit | 7ac10f692054e2690aa6f80efdd98bd283c94b10 (patch) | |
| tree | 696288286932b597ab53b30c17c66905a21a516c /src/include | |
| parent | a7a7be1f2fa6b9f0f48e69f12256d8f588af729b (diff) | |
Dump COMMENT ON SCHEMA public.
As we do for other attributes of the public schema, omit the COMMENT
command when its payload would match what initdb had installed. For
dumps that do carry this new COMMENT command, non-superusers restoring
them are likely to get an error.
Reviewed by Asif Rehman.
Discussion: https://postgr.es/m/ab48a34c-60f6-e388-502a-3e5fe46a2dae@postgresfriends.org
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/catalog/pg_namespace.dat | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/catalog/pg_namespace.dat b/src/include/catalog/pg_namespace.dat index 2ed136b787e..33992afd500 100644 --- a/src/include/catalog/pg_namespace.dat +++ b/src/include/catalog/pg_namespace.dat @@ -18,6 +18,7 @@ { oid => '99', oid_symbol => 'PG_TOAST_NAMESPACE', descr => 'reserved schema for TOAST tables', nspname => 'pg_toast', nspacl => '_null_' }, +# update dumpNamespace() if changing this descr { oid => '2200', oid_symbol => 'PG_PUBLIC_NAMESPACE', descr => 'standard public schema', nspname => 'public', nspacl => '_null_' }, |
