一覧へ戻る
PocketRent/hhvm-pgsql(新しいタブで開きます)
主要言語: C++
Postgres Extension for HHVM
- star 数
- 81
- watcher 数
- 12
- fork 数
- 46
- issue 数
- 0
- 最終更新
- 2016/11/14
主要言語: C++
Postgres Extension for HHVM
As of the 3.15.0 release, this extension is now included in HHVM core.
There are a few differences from the standard Zend implementation.
pg_convertpg_copy_frompg_copy_topg_insertpg_lo_closepg_lo_createpg_lo_exportpg_lo_importpg_lo_openpg_lo_read_allpg_lo_readpg_lo_seekpg_lo_tellpg_lo_unlinkpg_lo_writepg_meta_datapg_put_linepg_selectpg_set_client_encodingpg_set_error_verbositypg_tracepg_ttypg_untracepg_updateThere is a connection pool you can use with the pg_pconnect function.
The $connection_type parameter is ignored for both pg_connect and
pg_pconnect.
There are a few new function:
pg_connection_pool_stat: It gives some information, eg. count of
connections, free connections, etc.pg_connection_pool_sweep_free: Closing all unused connection in all pool.The pg_pconnect function creates a different connection pool for each
connection string.
The pg_fetch_object function only supports returning stdClass objects.
Otherwise, all functionality is (or should be) the same as the Zend implementation.
As always, bugs should be reported to the issue tracker and patches are very welcome.