Re: ruleutils with pretty-print option

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: Re: ruleutils with pretty-print option
Date: 2003-07-28 21:46:45
Message-ID: 3F2599C5.7010206@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Tom Lane wrote:

>Andreas Pflug <pgadmin(at)pse-consulting(dot)de> writes:
>
>
>>+ int prettyFlags = !PG_ARGISNULL(1) && PG_GETARG_BOOL(1) ? PRETTYFLAG_PAREN|PRETTYFLAG_INDENT : 0;
>>
>>
>
>Since the pg_proc entries are all marked strict, it's unnecessary for
>you to write any ARGISNULL checks.
>

Yeah you're right, it's a remainder of the previous solution. it was
late at night... But it won't do any harm either.

Regards,
Andreas

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Serguei A. Mokhov 2003-07-28 21:56:03 [pgsql-rus] Russian NLS update: pg_dump, libpq, pg_controldata, pg_resetxlog, pgscripts (fwd)
Previous Message Tom Lane 2003-07-28 19:32:56 Re: [HACKERS] allowed user/db variables