Re: [PATCH] Add pg_get_database_ddl() function to reconstruct CREATE DATABASE statement

Поиск
Список
Период
Сортировка
От Álvaro Herrera
Тема Re: [PATCH] Add pg_get_database_ddl() function to reconstruct CREATE DATABASE statement
Дата
Msg-id 202603051452.d7hp2zb5e676@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: [PATCH] Add pg_get_database_ddl() function to reconstruct CREATE DATABASE statement  (Rafia Sabih <rafia.pghackers@gmail.com>)
Список pgsql-hackers
On 2026-Mar-05, Rafia Sabih wrote:

> Also, the option strategy is missing in the output, is it deliberate?
> If yes, why?

Yeah, the copying strategy is not integral part of the resulting
database: we don't store anywhere, how exactly the database was copied.
So it cannot be reproduced, and therefore it would be pointless to try
to emit something; or at least I cannot imagine a principled reason to
choose any one particular strategy here.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"Por suerte hoy explotó el califont porque si no me habría muerto
 de aburrido"  (Papelucho)



В списке pgsql-hackers по дате отправления: