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