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

Re: Error codes for LIMIT and OFFSET

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Error codes for LIMIT and OFFSET
Date: 2009-02-27 15:25:48
Message-ID: 18875.1235748348@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> What should we do here, if anything?  Redefine 
> ERRCODE_INVALID_LIMIT_VALUE to the new SQL:2008 code?

If you're going to spell the errcode macros as suggested in the
patch, just remove ERRCODE_INVALID_LIMIT_VALUE.

Note that this patch misses at least two places where new errcodes
need to be listed (plerrcodes.h and the documentation appendix)

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2009-02-27 15:31:32
Subject: Re: BUG #4680: Server crashed if using wrong (mismatch) conversion functions
Previous:From: Andrew DunstanDate: 2009-02-27 14:49:44
Subject: Re: Service not starting: Error 1053

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