1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Code review for standalone composite types, query-specified composite

types, SRFs.  Not happy with memory management yet, but I'll commit these
other changes.
This commit is contained in:
Tom Lane
2002-08-29 00:17:06 +00:00
parent 7483749d82
commit 64505ed58b
41 changed files with 836 additions and 744 deletions

View File

@ -112,7 +112,7 @@ relation_size(PG_FUNCTION_ARGS)
relrv = makeRangeVarFromNameList(textToQualifiedNameList(relname,
"relation_size"));
relation = relation_openrv(relrv, AccessShareLock);
relation = heap_openrv(relrv, AccessShareLock);
relnode = relation->rd_rel->relfilenode;
@ -140,7 +140,7 @@ relation_size(PG_FUNCTION_ARGS)
segcount++;
}
relation_close(relation, AccessShareLock);
heap_close(relation, AccessShareLock);
PG_RETURN_INT64(totalsize);
}