Skip site navigation (1) Skip section navigation (2)

Re: cosmetic psql tweaks

From: Neil Conway <neilc(at)samurai(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: cosmetic psql tweaks
Date: 2004-05-24 01:04:36
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Tom Lane wrote:
> Er, doesn't that change the behavior?

I don't believe so. There is an if statement earlier that assigns 
opt->footers to footers is the former is non-NULL. In other words:

if (opt->footers)
     footers = opt->footers;
else if (...)
     footers = xyz();
     footers = NULL;

Therefore if footers is NULL then opt->footers must also be NULL, so the 
previous trinary statement is just confusing.


In response to

pgsql-patches by date

Next:From: Bruce MomjianDate: 2004-05-24 02:47:45
Subject: Re: pgstat exec cleanup
Previous:From: Tom LaneDate: 2004-05-24 00:30:41
Subject: Re: cosmetic psql tweaks

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group