Add test for CDB_UserDataSize identifier quoation

This commit is contained in:
Raúl Marín 2019-12-24 14:14:26 +01:00
parent 1c7b0c71ec
commit ec0d94dd0e
2 changed files with 6 additions and 0 deletions

View File

@ -60,6 +60,9 @@ SELECT 'excess3', catch_error($$INSERT INTO big VALUES (3);$$); -- disallowed, q
DROP TABLE big;
SELECT CDB_SetUserQuotaInBytes(0);
CREATE SCHEMA "complex-name%_with'quotes""";
SELECT CDB_UserDataSize('"complex-name%_with''quotes"');
DROP SCHEMA "complex-name%_with'quotes""";
set client_min_messages to NOTICE;
DROP FUNCTION catch_error(text);

View File

@ -30,6 +30,9 @@ DROP TABLE
excess3|t
DROP TABLE
0
CREATE SCHEMA
0
DROP SCHEMA
SET
DROP FUNCTION
DROP FUNCTION