10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab1aeca commit 7d289baCopy full SHA for 7d289ba
nix/tests/expected/pg-safeupdate.out
@@ -0,0 +1,12 @@
1
+load 'safeupdate';
2
+set safeupdate.enabled=1;
3
+create schema v;
4
+create table v.foo(
5
+ id int,
6
+ val text
7
+);
8
+update v.foo
9
+ set val = 'bar';
10
+ERROR: UPDATE requires a WHERE clause
11
+drop schema v cascade;
12
+NOTICE: drop cascades to table v.foo
nix/tests/sql/pg-safeupdate.sql
@@ -0,0 +1,15 @@
+
13
14
15
0 commit comments