Re: ruleutils with pretty-print option

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
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 00:35:07
Message-ID: 25505.1059352507@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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.

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Rod Taylor 2003-07-28 01:58:42 Spelling fix
Previous Message Andreas Pflug 2003-07-27 23:44:41 Re: ruleutils with pretty-print option