Skip site navigation (1) Skip section navigation (2)

pgsql: Add pg_read_binary_file() and whole-file-at-once versions ofpg_

From: Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add pg_read_binary_file() and whole-file-at-once versions ofpg_
Date: 2010-12-15 22:04:55
Message-ID: E1PSzSx-0001RZ-IH@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: Robert HaasDate: 2010-12-16 02:10:52
Subject: pgsql: Some copy editing of pg_read_binary_file() patch.
Previous:From: Bruce MomjianDate: 2010-12-15 12:12:11
Subject: pgsql: Use "upgrade" in preference over "migrate" in pg_upgrademessage

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group