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

From Tom Lane
Subject Re: ruleutils with pretty-print option
Date
Msg-id 25505.1059352507@sss.pgh.pa.us
Whole thread Raw
In response to Re: ruleutils with pretty-print option  (Andreas Pflug <pgadmin@pse-consulting.de>)
Responses Re: ruleutils with pretty-print option  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgsql-patches
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.

            regards, tom lane

pgsql-patches by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: ruleutils with pretty-print option
Next
From: Rod Taylor
Date:
Subject: Spelling fix