From 7e15939e500f2f2384b9a4593494169109150113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCrkan=20=C4=B0ndibay?= Date: Mon, 13 Nov 2023 17:15:11 +0300 Subject: [PATCH] Update src/backend/distributed/commands/database.c Co-authored-by: Onur Tirtir --- src/backend/distributed/commands/database.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/backend/distributed/commands/database.c b/src/backend/distributed/commands/database.c index 82b7eed97..94477a47b 100644 --- a/src/backend/distributed/commands/database.c +++ b/src/backend/distributed/commands/database.c @@ -594,6 +594,10 @@ GetLocaleProviderString(char datlocprovider) /* * GenerateCreateDatabaseStatementFromPgDatabase gets the pg_database tuple and returns the * CREATE DATABASE statement that can be used to create given database. + * + * Note that this doesn't deparse OID of the database and this is not a + * problem as we anyway don't allow specifying custom OIDs for databases + * when creating them. */ static char * GenerateCreateDatabaseStatementFromPgDatabase(Form_pg_database databaseForm)