Re: PQgetvalue() question - Mailing list pgsql-general

From Bruce Momjian
Subject Re: PQgetvalue() question
Date
Msg-id 200909261244.n8QCin528537@momjian.us
Whole thread Raw
In response to PQgetvalue() question  (ayen.krida@gmail.com)
List 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@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

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

pgsql-general by date:

Previous
From: Ricky Tompu Breaky
Date:
Subject: Re: Newbie's question: How can I connect to my postgresql-server?
Next
From: Ricky Tompu Breaky
Date:
Subject: How should the first step of PostgreSQL implementation should be?