Skip to content

Commit bb2b7eb

Browse files
author
JulesWritesCode
committed
undo
1 parent ea52410 commit bb2b7eb

2 files changed

Lines changed: 35 additions & 2 deletions

File tree

postgrestools.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// YOU CAN COMMENT ME OUT :)
1818
"db": {
1919
"host": "127.0.0.1",
20-
"port": 54322,
20+
"port": 5432,
2121
"username": "postgres",
2222
"password": "postgres",
2323
"database": "postgres",

test.sql

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,34 @@
1-
select * from auth.iusers;
1+
create table
2+
unknown_users (id serial primary key, address text, email text);
3+
4+
drop table unknown_users;
5+
6+
select
7+
*
8+
from
9+
unknown_users;
10+
11+
sel 1;
12+
13+
14+
15+
create function test_organisation_id ()
16+
returns setof text
17+
language plpgsql
18+
security invoker
19+
as $$
20+
declre
21+
v_organisation_id uuid;
22+
begin
23+
return next is(private.organisation_id(), v_organisation_id, 'should return organisation_id of token');
24+
end
25+
$$;
26+
27+
28+
create function f1()
29+
returns void as $$
30+
declare b constant int;
31+
begin
32+
call p1(10, b);
33+
end;
34+
$$ language plpgsql;

0 commit comments

Comments
 (0)