Re: Character Set UTF8 and libpq

From: "Nagle, Gail A \(US SSA\)" <gail(dot)nagle(at)baesystems(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Character Set UTF8 and libpq
Date: 2009-01-06 05:00:20
Message-ID: 7b4bbp$1neskn@dmzms99802.na.baesystems.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Thanks - sorry for the dumb question.

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Monday, January 05, 2009 6:13 PM
To: Nagle, Gail A (US SSA)
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: [NOVICE] Character Set UTF8 and libpq

"Nagle, Gail A \(US SSA\)" <gail(dot)nagle(at)baesystems(dot)com> writes:
> My question is does the entire string, i.e. "INSERT INTO mytable
> VALUES(" and the integer value need to be UTF8 encoded or can these
> parts be in plain ascii text?

Huh? ASCII text is perfectly legal UTF8.

regards, tom lane

Browse pgsql-novice by date

  From Date Subject
Next Message info 2009-01-08 17:37:50 How to release a transaction lock on a table
Previous Message Tom Lane 2009-01-06 02:12:31 Re: Character Set UTF8 and libpq