mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-19 20:00:51 +08:00
contrib/lo: Add test for function lo_oid()
Author: Ronan Dunklau Discussion: https://postgr.es/m/ZzMSJkiNZhimjXWx@paquier.xyz
This commit is contained in:
parent
4e6e375b00
commit
3ef038fc4f
@ -47,4 +47,10 @@ SELECT lo_get(43214);
|
||||
DELETE FROM image;
|
||||
SELECT lo_get(43214);
|
||||
ERROR: large object 43214 does not exist
|
||||
SELECT lo_oid(1::lo);
|
||||
lo_oid
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
DROP TABLE image;
|
||||
|
@ -27,4 +27,6 @@ DELETE FROM image;
|
||||
|
||||
SELECT lo_get(43214);
|
||||
|
||||
SELECT lo_oid(1::lo);
|
||||
|
||||
DROP TABLE image;
|
||||
|
Loading…
x
Reference in New Issue
Block a user