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

Re: vacuum analyze fails: ERROR: Unable to locate type oid 2230924 in catalog

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: vacuum analyze fails: ERROR: Unable to locate type oid 2230924 in catalog
Date: 2001-02-27 04:39:24
Message-ID: 28078.983248764@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> writes:
> I thought "typeidIsValid(targetTypeId) == false" is better than
> "!typeidIsValid(targetTypeId)"?

I've always thought that "== true" and "== false" on something that's
already a boolean are not good style.  It's a matter of taste I suppose.
But note that the existing calls on typeidIsValid are coded that way...

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Tatsuo IshiiDate: 2001-02-27 04:43:24
Subject: Re: vacuum analyze fails: ERROR: Unable to locate type oid 2230924 in catalog
Previous:From: Bruce MomjianDate: 2001-02-27 04:27:48
Subject: Re: Re[2]: Re: [PATCHES] A patch for xlog.c

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