Raises error on deprecated methods.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user