Re: Prettification versus dump safety - Mailing list pgsql-hackers

From Greg Sabino Mullane
Subject Re: Prettification versus dump safety
Date
Msg-id 48dc7e08d262319cdcb0cf2e41dee83f@biglumber.com
Whole thread Raw
In response to Prettification versus dump safety  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


> (1) change pg_dump to not prettify trigger definitions at all, or
> (2) change pg_get_triggerdef from the submitted patch so that it
> doesn't reduce parenthesization even in "pretty" mode.
>
> Or somebody could bite the bullet and decouple formatting from
> parenthesization decisions in ruleutils.c.  That's not going to be
> me, though.
>
> Comments, preferences?

Apply (2), and add the decoupling to the official todo list.

- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200911201315
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAksG3NEACgkQvJuQZxSWSsiIjgCg1u1oZqXGsM/ToBYH6OCBMcDt
yXUAoK8xquH56UerP6AQl7bVxhMhPyyH
=yuZ4
-----END PGP SIGNATURE-----




pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: DEFAULT of domain ignored in plpgsql (8.4.1)
Next
From: Andreas Pflug
Date:
Subject: Re: Prettification versus dump safety