4e31d3a37e
Adds new _CDB_total_relation_size function that handles nonexistent tables and does fallback to size=0. That function could be used to cache total relation size or query another table view with a cached total relation size. Fixes #108
21 lines
232 B
Plaintext
21 lines
232 B
Plaintext
SET
|
|
CREATE TABLE
|
|
CREATE TRIGGER
|
|
INSERT 0 1
|
|
ERROR: Quota exceeded by 3.9990234375KB
|
|
0
|
|
|
|
INSERT 0 2048
|
|
INSERT 0 2048
|
|
INSERT 0 2048
|
|
581632
|
|
1163264
|
|
0
|
|
2
|
|
ERROR: Quota exceeded by 567.998046875KB
|
|
0
|
|
INSERT 0 1
|
|
DROP TABLE
|
|
SET
|
|
DROP FUNCTION
|