Qore PostgreSQL Module 1.0.2 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Qore PostgreSQL Module 1.0.2 (Default branch)
# 1  
Old 01-27-2009
Qore PostgreSQL Module 1.0.2 (Default branch)

Qore PostgreSQL Module is a DBI driver module for the Qore programming language to communicate with PostgreSQL databases. The PostgreSQL driver transparently handles client and server character encodings, supports multi-threading, transaction management, stored procedure execution, and more. License: GNU Lesser General Public License (LGPL) Changes:
This release contains updates to support correct building from MacPorts. Other minor configure and RPM building fixes were also made. Image

Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
PG_CLIENT_ENCODING(3)													     PG_CLIENT_ENCODING(3)

pg_client_encoding - Gets the client encoding

SYNOPSIS
string pg_client_encoding ([resource $connection]) DESCRIPTION
PostgreSQL supports automatic character set conversion between server and client for certain character sets. pg_client_encoding(3) returns the client encoding as a string. The returned string will be one of the standard PostgreSQL encoding identifiers. Note This function requires PHP 4.0.3 or higher and PostgreSQL 7.0 or higher. If libpq is compiled without multibyte encoding support, pg_client_encoding(3) always returns SQL_ASCII. Supported encoding depends on PostgreSQL version. Refer to the PostgreSQL Documenta- tion supported encodings. The function used to be called pg_clientencoding(3). PARAMETERS
o $connection - PostgreSQL database connection resource. When $connection is not present, the default connection is used. The default connection is the last connection made by pg_connect(3) or pg_pconnect(3). RETURN VALUES
The client encoding, or FALSE on error. EXAMPLES
Example #1 pg_client_encoding(3) example <?php // Assume $conn is a connection to a ISO-8859-1 database $encoding = pg_client_encoding($conn); echo "Client encoding is: ", $encoding, " "; ?> The above example will output: Client encoding is: ISO-8859-1 SEE ALSO
pg_set_client_encoding(3). PHP Documentation Group PG_CLIENT_ENCODING(3)