PHP » GoLang |
login |
register |
about
|
GoLang pg_set_client_encoding
request it (314)
GoLang replacement for PHP's pg_set_client_encoding
[edit | history]
pg_set_client_encoding(PHP 4 >= 4.0.3, PHP 5, PHP 7) pg_set_client_encoding — Set the client encoding Description
int pg_set_client_encoding
([ resource
$connection
], string $encoding
)pg_set_client_encoding() sets the client encoding and returns 0 if success or -1 if error. PostgreSQL will automatically convert data in the backend database encoding into the frontend encoding.
Parameters
Return ValuesReturns 0 on success or -1 on error. Examples
Example #1 pg_set_client_encoding() example
<?php |
more
Recently updated
more
Most requested
more
Last requests
|