Re: PQgetvalue() question

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: ayen(dot)krida(at)gmail(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PQgetvalue() question
Date: 2009-09-26 12:44:49
Message-ID: 200909261244.n8QCin528537@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Can anyone help me with this?
>
> In what encoding the function PQgetvalue() return?
> ASCII? UTF8?

It returns in whatever client encoding you are using:

test=> SHOW client_encoding;
client_encoding
-----------------
SQL_ASCII
(1 row)

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ricky Tompu Breaky 2009-09-26 13:00:39 How should the first step of PostgreSQL implementation should be?
Previous Message Ricky Tompu Breaky 2009-09-26 08:00:41 Re: Newbie's question: How can I connect to my postgresql-server?