Update copyright for 2022
[pgsql.git] / src / include / libpq / be-fsstubs.h
blob130bc300819604bf497705d047fe0b0627ff3e7c
1 /*-------------------------------------------------------------------------
3 * be-fsstubs.h
7 * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * src/include/libpq/be-fsstubs.h
12 *-------------------------------------------------------------------------
14 #ifndef BE_FSSTUBS_H
15 #define BE_FSSTUBS_H
18 * These are not fmgr-callable, but are available to C code.
19 * Probably these should have had the underscore-free names,
20 * but too late now...
22 extern int lo_read(int fd, char *buf, int len);
23 extern int lo_write(int fd, const char *buf, int len);
26 * Cleanup LOs at xact commit/abort
28 extern void AtEOXact_LargeObject(bool isCommit);
29 extern void AtEOSubXact_LargeObject(bool isCommit, SubTransactionId mySubid,
30 SubTransactionId parentSubid);
32 #endif /* BE_FSSTUBS_H */