aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-04-13 16:50:55 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-04-13 16:50:55 +0000
commit2fdf9e0be6b474e38e516007b5ac5274ecef514d (patch)
tree4a5b04ca560ac8ef7e8e76c1dfd3dd840a6084dd /src/tutorial/basics.source
parent45c79a3094a246e94ed6725c7ade0a61bd3fe56a (diff)
downloadpostgresql-2fdf9e0be6b474e38e516007b5ac5274ecef514d.tar.gz
postgresql-2fdf9e0be6b474e38e516007b5ac5274ecef514d.zip
Change addRangeTableEntryForRelation() to take a Relation pointer instead
of just a relation OID, thereby not having to open the relation for itself. This actually saves code rather than adding it for most of the existing callers, which had the rel open already. The main point though is to be able to use this rather than plain addRangeTableEntry in setTargetTable, thus saving one relation_openrv/relation_close cycle for every INSERT, UPDATE, or DELETE. Seems to provide a several percent win on simple INSERTs.
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions