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

Commit47ed658

Browse files
committed
heap_open => relation_open to avoid unwanted restriction on relkind.
Per gripe from Gaetano Mendola.
1 parente33f205 commit47ed658

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/pl/plpgsql/src/pl_comp.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* procedural language
44
*
55
* IDENTIFICATION
6-
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_comp.c,v 1.68 2003/09/25 23:02:12 tgl Exp $
6+
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_comp.c,v 1.69 2003/09/30 00:59:51 tgl Exp $
77
*
88
* This software is copyrighted by Jan Wieck - Hamburg.
99
*
@@ -1466,7 +1466,7 @@ plpgsql_build_rowtype(Oid classOid)
14661466
/*
14671467
* Open the relation to get info.
14681468
*/
1469-
rel=heap_open(classOid,AccessShareLock);
1469+
rel=relation_open(classOid,AccessShareLock);
14701470
classStruct=RelationGetForm(rel);
14711471
relname=RelationGetRelationName(rel);
14721472

@@ -1568,7 +1568,7 @@ plpgsql_build_rowtype(Oid classOid)
15681568
}
15691569
}
15701570

1571-
heap_close(rel,AccessShareLock);
1571+
relation_close(rel,AccessShareLock);
15721572

15731573
returnrow;
15741574
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp