PQgetvalue() question

Поиск
Список
Период
Сортировка
Искать

PQgetvalue() question

От:
ayen.krida@gmail.com
Дата:
Hi friends,
Can anyone help me with this?

In what encoding the function PQgetvalue() return?
ASCII? UTF8?

Thank you very very much.

Rgds,
Ayen Yang
Sent from my AXIS Worry Free BlackBerry® smartphone

Re: PQgetvalue() question

От:
Bruce Momjian <bruce@momjian.us>
Дата:
> 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          http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

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