mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Change ln(), log(), power(), and sqrt() to emit the correct SQLSTATE
error codes for certain error conditions, as specified by SQL2003.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/errcodes.sgml,v 1.5 2004/05/14 21:42:27 neilc Exp $ -->
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/errcodes.sgml,v 1.6 2004/05/16 23:18:52 neilc Exp $ -->
|
||||
|
||||
<appendix id="errcodes-appendix">
|
||||
<title><productname>PostgreSQL</productname> Error Codes</title>
|
||||
@ -310,6 +310,16 @@
|
||||
<entry>INTERVAL FIELD OVERFLOW</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal>2201E</literal></entry>
|
||||
<entry>INVALID ARGUMENT FOR LOGARITHM</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal>2201F</literal></entry>
|
||||
<entry>INVALID ARGUMENT FOR POWER FUNCTION</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal>2201G</literal></entry>
|
||||
<entry>INVALID ARGUMENT FOR WIDTH BUCKET FUNCTION</entry>
|
||||
|
Reference in New Issue
Block a user