1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Add new SQL:2008 error codes for invalid LIMIT and OFFSET values. Remove

unused nonstandard error code that was perhaps intended for this but never
used.
This commit is contained in:
Peter Eisentraut
2009-03-04 10:55:00 +00:00
parent 9add9f95c3
commit 12f87b2c82
4 changed files with 28 additions and 17 deletions

View File

@@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/errcodes.sgml,v 1.26 2008/12/28 18:53:53 tgl Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/errcodes.sgml,v 1.27 2009/03/04 10:55:00 petere Exp $ -->
<appendix id="errcodes-appendix">
<title><productname>PostgreSQL</productname> Error Codes</title>
@@ -444,12 +444,6 @@
<entry>invalid_indicator_parameter_value</entry>
</row>
<row>
<entry><literal>22020</literal></entry>
<entry>INVALID LIMIT VALUE</entry>
<entry>invalid_limit_value</entry>
</row>
<row>
<entry><literal>22023</literal></entry>
<entry>INVALID PARAMETER VALUE</entry>
@@ -462,6 +456,18 @@
<entry>invalid_regular_expression</entry>
</row>
<row>
<entry><literal>2201W</literal></entry>
<entry>INVALID ROW COUNT IN LIMIT CLAUSE</entry>
<entry>invalid_row_count_in_limit_clause</entry>
</row>
<row>
<entry><literal>2201X</literal></entry>
<entry>INVALID ROW COUNT IN RESULT OFFSET CLAUSE</entry>
<entry>invalid_row_count_in_result_offset_clause</entry>
</row>
<row>
<entry><literal>22009</literal></entry>
<entry>INVALID TIME ZONE DISPLACEMENT VALUE</entry>