Re: How to insert wchar_t type string to PostgreSQL - Mailing list pgsql-general

From Tom Lane
Subject Re: How to insert wchar_t type string to PostgreSQL
Date
Msg-id 3097.1274362497@sss.pgh.pa.us
Whole thread Raw
In response to How to insert wchar_t type string to PostgreSQL  (Yan Cheng CHEOK <yccheok@yahoo.com>)
List pgsql-general
Yan Cheng CHEOK <yccheok@yahoo.com> writes:
> May I know, how I can store wchar_t * typed string into PostgreSQl, using C library?

You can't; you have to convert to whatever the client_encoding is.

            regards, tom lane

pgsql-general by date:

Previous
From: Hernan Danielan
Date:
Subject: Re: Connection lost
Next
From: Tom Lane
Date:
Subject: Re: Connection lost