Re: systable_getnext_ordered

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
Cc: pgsql-novice@postgresql.org
Date: 2011-01-26T15:27:57Z
Lists: pgsql-hackers
yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) writes:
> after systable_getnext_ordered returned NULL, is it ok to call it again?

I wouldn't rely on it working.

> i'm wondering because inv_truncate seems to do it and expecting NULL.

Hmm, that may well be a bug.  Have you tested it?

			regards, tom lane