mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
Add pg_read_binary_file() and whole-file-at-once versions of pg_read_file().
One of the usages of the binary version is to read files in a different encoding from the server encoding. Dimitri Fontaine and Itagaki Takahiro.
This commit is contained in:
@ -442,6 +442,9 @@ extern Datum pg_relation_filepath(PG_FUNCTION_ARGS);
|
||||
/* genfile.c */
|
||||
extern Datum pg_stat_file(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_read_file(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_read_file_all(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_read_binary_file(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_read_binary_file_all(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_ls_dir(PG_FUNCTION_ARGS);
|
||||
|
||||
/* misc.c */
|
||||
|
Reference in New Issue
Block a user