Re: [PATCH] Add pg_get_database_ddl() function to reconstruct CREATE DATABASE statement - Mailing list pgsql-hackers

From Álvaro Herrera
Subject Re: [PATCH] Add pg_get_database_ddl() function to reconstruct CREATE DATABASE statement
Date
Msg-id 202603040943.2jvgphmddgcs@alvherre.pgsql
Whole thread Raw
In response to Re: [PATCH] Add pg_get_database_ddl() function to reconstruct CREATE DATABASE statement  (Japin Li <japinli@hotmail.com>)
Responses Re: [PATCH] Add pg_get_database_ddl() function to reconstruct CREATE DATABASE statement
List pgsql-hackers
On 2026-Mar-04, Japin Li wrote:

> After playing with this patch, I’m seeing the following output:
> 
> # select pg_get_database_ddl('postgres'::regdatabase, 'defaults', true, 'pretty', true, 'pretty', false);

I think this should throw an error that 'pretty' was contradictorily
specified twice.  (Maybe also an error if an option appears twice,
period.)

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/



pgsql-hackers by date:

Previous
From: Richard Guo
Date:
Subject: Re: Convert NOT IN sublinks to anti-joins when safe
Next
From: Heikki Linnakangas
Date:
Subject: Re: Fix bug in multixact Oldest*MXactId initialization and access