Re: current version: Patch - Have psql show current values for a sequence] - Mailing list pgsql-patches

From Tom Lane
Subject Re: current version: Patch - Have psql show current values for a sequence]
Date
Msg-id 19100.1146720851@sss.pgh.pa.us
Whole thread Raw
In response to current version: Patch - Have psql show current values for a sequence]  (Dhanaraj M <Dhanaraj.M@Sun.COM>)
Responses Re: current version: Patch - Have psql show current values  (Dhanaraj M <Dhanaraj.M@Sun.COM>)
List pgsql-patches
Dhanaraj M <Dhanaraj.M@Sun.COM> writes:
> sorry for sending the old version in the previous mail . Here I attach
> the recent version of the patch file.

Surely this problem does not require adding any server-side code.
Something like "select last_value from <seq>" would be more appropriate;
and it'd have some hope of working with back-version servers.

Also, please use something more helpful than "***" as the column
header.  Your urge to add a footnote to explain it shows that you
didn't try hard enough to devise a good header to begin with.

[ btw, both fmgroids.h and fmgrtab.c are generated files.  Patching
them is unnecessary and inappropriate. ]

            regards, tom lane

pgsql-patches by date:

Previous
From: Dhanaraj M
Date:
Subject: current version: Patch - Have psql show current values for a sequence]
Next
From: Heikki Linnakangas
Date:
Subject: Re: Page at a time index scan