View Single Post

   
  #2 (permalink)  
Old 04-18-2008, 12:35 AM
Tom Lane
 
Posts: n/a
Default Re: current version: Patch - Have psql show current values for a sequence]

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

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Reply With Quote