Re: pg_read_file() and non-ascii input file

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>
Cc: pgsql-hackers@postgresql.org
Date: 2009-12-30T21:13:21Z
Lists: pgsql-hackers
On Mon, Nov 30, 2009 at 4:36 AM, Itagaki Takahiro
<itagaki.takahiro@oss.ntt.co.jp> wrote:
> If we want to keep backward compatibility, the issue can be fixed
> by adding pg_verifymbstr() to the function. We can also have the
> binary version in another name, like pg_read_binary_file().

I don't feel good about changing the return type of an existing
function, so I guess +1 from me on the approach quoted above.

...Robert