Update src/backend/distributed/commands/database.c

Co-authored-by: Onur Tirtir <onurcantirtir@gmail.com>
pull/7240/head
Gürkan İndibay 2023-11-13 17:15:11 +03:00 committed by GitHub
parent fcdea98edd
commit 7e15939e50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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)