pg_port — Return the port number associated with the connection
pg_prepare — Submits a request to create a prepared statement with the
given parameters, and waits for completion.
pg_put_line — Send a NULL-terminated string to PostgreSQL backend
pg_query_params — Submits a command to the server and waits for the result, with the ability to pass parameters separately from the SQL command text.