PostgreSQL Source Code git master
|
Go to the source code of this file.
Functions | |
int | lo_read (int fd, char *buf, int len) |
int | lo_write (int fd, const char *buf, int len) |
void | AtEOXact_LargeObject (bool isCommit) |
void | AtEOSubXact_LargeObject (bool isCommit, SubTransactionId mySubid, SubTransactionId parentSubid) |
void AtEOSubXact_LargeObject | ( | bool | isCommit, |
SubTransactionId | mySubid, | ||
SubTransactionId | parentSubid | ||
) |
Definition at line 648 of file be-fsstubs.c.
References closeLOfd(), cookies, cookies_size, fscxt, i, and LargeObjectDesc::subid.
Referenced by AbortSubTransaction(), and CommitSubTransaction().
void AtEOXact_LargeObject | ( | bool | isCommit | ) |
Definition at line 602 of file be-fsstubs.c.
References close_lo_relation(), closeLOfd(), cookies, cookies_size, fscxt, i, lo_cleanup_needed, and MemoryContextDelete().
Referenced by AbortTransaction(), CommitTransaction(), and PrepareTransaction().
int lo_read | ( | int | fd, |
char * | buf, | ||
int | len | ||
) |
Definition at line 154 of file be-fsstubs.c.
References buf, cookies, cookies_size, ereport, errcode(), errmsg(), ERROR, fd(), LargeObjectDesc::flags, IFS_RDLOCK, inv_read(), and len.
Referenced by be_loread(), dumpLOs(), exportFile(), and pickout().
int lo_write | ( | int | fd, |
const char * | buf, | ||
int | len | ||
) |
Definition at line 182 of file be-fsstubs.c.
References buf, cookies, cookies_size, ereport, errcode(), errmsg(), ERROR, fd(), LargeObjectDesc::flags, IFS_WRLOCK, inv_write(), and len.
Referenced by be_lowrite(), dump_lo_buf(), importFile(), and overwrite().