blob: b00d47cc75e1b6dd2c4024e6b52e7519eafa1195 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
-- This is more-or-less DROP IF EXISTS LARGE OBJECT 3001;
WITH unlink AS (SELECT lo_unlink(loid) FROM pg_largeobject WHERE loid = 3001) SELECT 1;
?column?
----------
1
(1 row)
-- Test creation of a large object and leave it for testing pg_upgrade
SELECT lo_create(3001);
lo_create
-----------
3001
(1 row)
COMMENT ON LARGE OBJECT 3001 IS 'testing comments';
|