fix: columns w/ dollar sign($) don't need quoting

This commit is contained in:
steve-chavez
2022-07-30 19:50:09 -05:00
committed by Steve Chavez
parent d556cea8ce
commit 84e03a16dd
6 changed files with 20 additions and 4 deletions
+3
View File
@@ -800,3 +800,6 @@ INSERT INTO shop_bles(id, name, coords, shop_id, range_area) VALUES(2, 'Beacon-2
TRUNCATE TABLE "SPECIAL ""@/\#~_-".names CASCADE;
INSERT INTO "SPECIAL ""@/\#~_-".names (id, name) VALUES (1, 'John'), (2, 'Mary');
TRUNCATE TABLE do$llar$s CASCADE;
INSERT INTO do$llar$s (a$num$) VALUES (100), (200), (300);
+1
View File
@@ -194,6 +194,7 @@ GRANT ALL ON TABLE
, shops
, shop_bles
, "SPECIAL ""@/\#~_-".names
, do$llar$s
TO postgrest_test_anonymous;
GRANT INSERT ON TABLE insertonly TO postgrest_test_anonymous;
+4
View File
@@ -2685,3 +2685,7 @@ $$ LANGUAGE sql;
CREATE FUNCTION test.special_extended_schema(val text) RETURNS text AS $$
SELECT get_val_special(val);
$$ LANGUAGE sql;
CREATE TABLE do$llar$s (
a$num$ numeric
);