Raises error on deprecated methods.

This commit is contained in:
Guido Fioravantti
2015-10-22 18:56:50 +02:00
parent d14436da6c
commit 58deeb088d

View File

@@ -441,6 +441,8 @@ DECLARE
newrelname TEXT;
BEGIN
RAISE ERROR '_CDB_Unique_Relation_Name is DEPRECATED. Use CDB_Unique_Identifier(prefix TEXT, relname TEXT, suffix TEXT, schema TEXT DEFAULT NULL)';
i := 0;
newrelname := relationname;
LOOP
@@ -482,6 +484,8 @@ DECLARE
newcolname TEXT;
BEGIN
RAISE ERROR '_CDB_Unique_Column_Name is DEPRECATED. Use CDB_Unique_Column_Identifier(prefix TEXT, relname TEXT, suffix TEXT, reloid REGCLASS DEFAULT NULL)';
i := 0;
newcolname := columnname;
LOOP