diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-06-13 02:26:53 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-06-13 02:26:53 +0000 |
commit | a2fb7b8a1f1352b26cd5f99ebed5fea6fd64f54c (patch) | |
tree | f34fea59c40412169553c1c361c5fb65c088ab71 /src/backend/access/gist/gistutil.c | |
parent | f52a34229b868249409e73365d42cab097a923e9 (diff) | |
download | postgresql-a2fb7b8a1f1352b26cd5f99ebed5fea6fd64f54c.tar.gz |
Adjust lo_open() so that specifying INV_READ without INV_WRITE creates
a descriptor that uses the current transaction snapshot, rather than
SnapshotNow as it did before (and still does if INV_WRITE is set).
This means pg_dump will now dump a consistent snapshot of large object
contents, as it never could do before. Also, add a lo_create() function
that is similar to lo_creat() but allows the desired OID of the large
object to be specified. This will simplify pg_restore considerably
(but I'll fix that in a separate commit).
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions