From c464212421e7a86c28d95fabed35cd11d4f9cab1 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 23 Nov 2002 03:50:50 +0000 Subject: [PATCH] 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 --- contrib/cube/cube.sql.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/cube/cube.sql.in b/contrib/cube/cube.sql.in index 5aadf7ba1b..60ac7d8aee 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 -- -- 2.40.0