Changeset: 450ebf409506 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=450ebf409506
Modified Files:
        sql/server/sql_parser.y
Branch: sciql
Log Message:

ARRAYs can IMHO not be used as atomic data type;
disabled that "feature", and added comment about
missing feature of ARRAY-returning functions.


diffs (23 lines):

diff --git a/sql/server/sql_parser.y b/sql/server/sql_parser.y
--- a/sql/server/sql_parser.y
+++ b/sql/server/sql_parser.y
@@ -4913,10 +4913,18 @@ data_type:
                                sql_init_subtype(&$$, t, $3, 0);
                          }
                        }
+/*
+ * stefan.maneg...@cwi.nl:
+ * IMHO, this does not belong here, as an ARRAY is not an atomic data type.
+ *
+ * Instead, a correct(ed) version of this needs to be added to 
"func_data_type:"
+ * to enable ARRAY-returning functions in additition to TABLE-returning 
functions.
+ *
  | ARRAY '(' array_element_def_list ')' { 
-       /* use a fake type  for now */
+       / * use a fake type  for now * /
        sql_find_subtype(&$$, "int", 0, 0);
        }
+*/
  ;
 
 array_element_def_list:
_______________________________________________
Checkin-list mailing list
Checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to