From: Bruce Momjian Date: Mon, 30 May 2005 20:59:17 +0000 (+0000) Subject: Add support for NUMERIC ^ NUMERIC based on power(numeric, numeric). X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=50c16b70382364a8bad82017509dc29aeed67c3a;p=users%2Fbernd%2Fpostgres.git Add support for NUMERIC ^ NUMERIC based on power(numeric, numeric). --- diff --git a/src/include/catalog/catversion.h b/src/include/catalog/catversion.h index 81a1a5cf9a..d6db7e32f8 100644 --- a/src/include/catalog/catversion.h +++ b/src/include/catalog/catversion.h @@ -53,6 +53,6 @@ */ /* yyyymmddN */ -#define CATALOG_VERSION_NO 200505301 +#define CATALOG_VERSION_NO 200505302 #endif diff --git a/src/include/catalog/pg_operator.h b/src/include/catalog/pg_operator.h index 5172a61e5e..5fbd49af31 100644 --- a/src/include/catalog/pg_operator.h +++ b/src/include/catalog/pg_operator.h @@ -695,6 +695,7 @@ DATA(insert OID = 1759 ( "-" PGNSP PGUID b f 1700 1700 1700 0 0 0 0 0 0 num DATA(insert OID = 1760 ( "*" PGNSP PGUID b f 1700 1700 1700 1760 0 0 0 0 0 numeric_mul - - )); DATA(insert OID = 1761 ( "/" PGNSP PGUID b f 1700 1700 1700 0 0 0 0 0 0 numeric_div - - )); DATA(insert OID = 1762 ( "%" PGNSP PGUID b f 1700 1700 1700 0 0 0 0 0 0 numeric_mod - - )); +DATA(insert OID = 1038 ( "^" PGNSP PGUID b f 1700 1700 1700 0 0 0 0 0 0 numeric_power - - )); DATA(insert OID = 1763 ( "@" PGNSP PGUID l f 0 1700 1700 0 0 0 0 0 0 numeric_abs - - )); DATA(insert OID = 1784 ( "=" PGNSP PGUID b f 1560 1560 16 1784 1785 1786 1786 1786 1787 biteq eqsel eqjoinsel ));