diff options
author | Noah Misch <noah@leadboat.com> | 2013-10-27 22:42:46 -0400 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2013-10-27 22:56:54 -0400 |
commit | c50b7c09d852b6dc292bf24c72a0ffcac6cb2cab (patch) | |
tree | ee9cc909b6b1c7040c4c81e427d25d215e1d900f /src/include/libpq/be-fsstubs.h | |
parent | 9c339eb4f853e44c462f53587f69e4a11e89c09b (diff) | |
download | postgresql-c50b7c09d852b6dc292bf24c72a0ffcac6cb2cab.tar.gz postgresql-c50b7c09d852b6dc292bf24c72a0ffcac6cb2cab.zip |
Add large object functions catering to SQL callers.
With these, one need no longer manipulate large object descriptors and
extract numeric constants from header files in order to read and write
large object contents from SQL.
Pavel Stehule, reviewed by Rushabh Lathia.
Diffstat (limited to 'src/include/libpq/be-fsstubs.h')
-rw-r--r-- | src/include/libpq/be-fsstubs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/libpq/be-fsstubs.h b/src/include/libpq/be-fsstubs.h index a2b803a7c54..50b919021f1 100644 --- a/src/include/libpq/be-fsstubs.h +++ b/src/include/libpq/be-fsstubs.h @@ -25,6 +25,7 @@ extern Datum lo_export(PG_FUNCTION_ARGS); extern Datum lo_creat(PG_FUNCTION_ARGS); extern Datum lo_create(PG_FUNCTION_ARGS); +extern Datum lo_create_bytea(PG_FUNCTION_ARGS); extern Datum lo_open(PG_FUNCTION_ARGS); extern Datum lo_close(PG_FUNCTION_ARGS); @@ -32,6 +33,10 @@ extern Datum lo_close(PG_FUNCTION_ARGS); extern Datum loread(PG_FUNCTION_ARGS); extern Datum lowrite(PG_FUNCTION_ARGS); +extern Datum lo_get(PG_FUNCTION_ARGS); +extern Datum lo_get_fragment(PG_FUNCTION_ARGS); +extern Datum lo_put(PG_FUNCTION_ARGS); + extern Datum lo_lseek(PG_FUNCTION_ARGS); extern Datum lo_tell(PG_FUNCTION_ARGS); extern Datum lo_lseek64(PG_FUNCTION_ARGS); |