Re: ruleutils with pretty-print option - Mailing list pgsql-patches

From Andreas Pflug
Subject Re: ruleutils with pretty-print option
Date
Msg-id 3F2599C5.7010206@pse-consulting.de
Whole thread Raw
In response to Re: ruleutils with pretty-print option  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:

>Andreas Pflug <pgadmin@pse-consulting.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


pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] allowed user/db variables
Next
From: "Serguei A. Mokhov"
Date:
Subject: [pgsql-rus] Russian NLS update: pg_dump, libpq, pg_controldata, pg_resetxlog, pgscripts (fwd)