mirror of
https://github.com/postgres/postgres.git
synced 2025-12-19 17:02:53 +03:00
Implement the width_bucket() function, per SQL2003. This commit only adds
a variant of the function for the 'numeric' datatype; it would be possible to add additional variants for other datatypes, but I haven't done so yet. This commit includes regression tests and minimal documentation; if we want developers to actually use this function in applications, we'll probably need to document what it does more fully.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/errcodes.sgml,v 1.4 2004/05/14 18:04:02 neilc Exp $ -->
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/errcodes.sgml,v 1.5 2004/05/14 21:42:27 neilc Exp $ -->
|
||||
|
||||
<appendix id="errcodes-appendix">
|
||||
<title><productname>PostgreSQL</productname> Error Codes</title>
|
||||
@@ -310,6 +310,11 @@
|
||||
<entry>INTERVAL FIELD OVERFLOW</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal>2201G</literal></entry>
|
||||
<entry>INVALID ARGUMENT FOR WIDTH BUCKET FUNCTION</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal>22018</literal></entry>
|
||||
<entry>INVALID CHARACTER VALUE FOR CAST</entry>
|
||||
|
||||
Reference in New Issue
Block a user