Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3ef038f

Browse files
committed
contrib/lo: Add test for function lo_oid()
Author: Ronan DunklauDiscussion:https://postgr.es/m/ZzMSJkiNZhimjXWx@paquier.xyz
1 parent4e6e375 commit3ef038f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

‎contrib/lo/expected/lo.out

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,10 @@ SELECT lo_get(43214);
4747
DELETE FROM image;
4848
SELECT lo_get(43214);
4949
ERROR: large object 43214 does not exist
50+
SELECT lo_oid(1::lo);
51+
lo_oid
52+
--------
53+
1
54+
(1 row)
55+
5056
DROP TABLE image;

‎contrib/lo/sql/lo.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,6 @@ DELETE FROM image;
2727

2828
SELECT lo_get(43214);
2929

30+
SELECT lo_oid(1::lo);
31+
3032
DROPTABLE image;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp