An E_WARNING level warning is generated if the supplied argument is not a valid postgresql link resource.
![]() |
|
||||||||||
|
pg_closeОписаниеbool pg_close ( [resource connection] )
pg_close() closes the non-persistent
connection to a PostgreSQL database associated with the given
If there is open large object resource on the connection, do not close the connection before closing all large object resources. Список параметров
Возвращаемые значенияВозвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки. pg_close
nox at macports dot org
27-Jul-2007 01:02
An E_WARNING level warning is generated if the supplied argument is not a valid postgresql link resource.
amays
15-Nov-2005 03:47
pg_close(...) will not technically close a persistent connection but instead returns it back to the connection pool thus giving you the desired effect of having the connection closed within your script.
mark at redbrick dot dcu dot ie
24-Mar-2003 06:31
This function closes the current database connection specified by a handle returned from a pg_connect() call. |