Re: Prettification versus dump safety

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Prettification versus dump safety
Date: 2009-11-20 18:16:03
Message-ID: 48dc7e08d262319cdcb0cf2e41dee83f@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)turnstep(dot)com
PGP Key: 0x14964AC8 200911201315
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Pflug 2009-11-20 18:38:49 Re: Prettification versus dump safety
Previous Message Robert Haas 2009-11-20 17:53:59 Re: DEFAULT of domain ignored in plpgsql (8.4.1)