projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9416f38
)
When I made the cube(text) function for 7.3, I neglected to add a
author
Bruce Momjian
Sat, 23 Nov 2002 03:50:50 +0000
(
03:50
+0000)
committer
Bruce Momjian
Sat, 23 Nov 2002 03:50:50 +0000
(
03:50
+0000)
matching create cast command. The attached diff adds a create cast as
assignment to cube.sql.in .
Bruno Wolff III
contrib/cube/cube.sql.in
patch
|
blob
|
blame
|
history
diff --git
a/contrib/cube/cube.sql.in
b/contrib/cube/cube.sql.in
index 5aadf7ba1bbb9900d4fc45334b88c15c29317abd..60ac7d8aee022644f1dee22c0b4770d317ad404a 100644
(file)
--- 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
--