pgsql: Fix psql crash while parsing SQL file whose encoding is differen

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix psql crash while parsing SQL file whose encoding is differen
Date: 2012-12-02 12:59:30
Message-ID: E1Tf98s-0006OW-Cy@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix psql crash while parsing SQL file whose encoding is different from
client encoding and the client encoding is not *safe* one. Such an
example is, file encoding is UTF-8 and client encoding SJIS. Patch
contributed by Jiang Guiqing.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/53edb8dc0274e0d05eb0371ce84b7fb14cb5eb5a

Modified Files
--------------
src/bin/psql/psqlscan.l | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2012-12-02 13:11:48 pgsql: Clarify operation of online checkpoints.
Previous Message Tom Lane 2012-12-01 22:24:36 pgsql: Prevent passing gmake's environment variables down through pg_re