pgsql: Add pg_read_binary_file() and whole-file-at-once versions of pg_ - Mailing list pgsql-committers

From Itagaki Takahiro
Subject pgsql: Add pg_read_binary_file() and whole-file-at-once versions of pg_
Date
Msg-id E1PSzSx-0001RZ-IH@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=03db44eae3e065174d5e29888b8d98c39b1f520b

Modified Files
--------------
doc/src/sgml/func.sgml           |   25 +++++++-
src/backend/utils/adt/genfile.c  |  128 +++++++++++++++++++++++++++++++-------
src/include/catalog/catversion.h |    2 +-
src/include/catalog/pg_proc.h    |    6 ++
src/include/utils/builtins.h     |    3 +
5 files changed, 139 insertions(+), 25 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: Use "upgrade" in preference over "migrate" in pg_upgrade message
Next
From: Robert Haas
Date:
Subject: pgsql: Document timestamptz a little better.