aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-11-23 03:50:50 +0000
committerBruce Momjian <bruce@momjian.us>2002-11-23 03:50:50 +0000
commitc464212421e7a86c28d95fabed35cd11d4f9cab1 (patch)
treef5e8f9723ebd86ba7f839c1df886bf40a2f72eef
parent9416f3839dbe24c7ea5090b6d634c194754586c4 (diff)
downloadpostgresql-c464212421e7a86c28d95fabed35cd11d4f9cab1.tar.gz
postgresql-c464212421e7a86c28d95fabed35cd11d4f9cab1.zip
When I made the cube(text) function for 7.3, I neglected to add a
matching create cast command. The attached diff adds a create cast as assignment to cube.sql.in . Bruno Wolff III
-rw-r--r--contrib/cube/cube.sql.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/cube/cube.sql.in b/contrib/cube/cube.sql.in
index 5aadf7ba1bb..60ac7d8aee0 100644
--- a/contrib/cube/cube.sql.in
+++ b/contrib/cube/cube.sql.in
@@ -32,6 +32,8 @@ LANGUAGE 'C' IMMUTABLE STRICT;
COMMENT ON FUNCTION cube(text) IS 'convert text to cube';
+CREATE CAST (text AS cube) WITH FUNCTION cube(text) AS ASSIGNMENT;
+
--
-- External C-functions for R-tree methods
--