update pague now
Downloads
Documentation
Guet Involved
Help
Search docs
PHP 8.5.2 Released!
Guetting Started
Introduction
A simple tutorial
Languague Reference
Basic syntax
Types
Variables
Constans
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocolls and Wrappers
Security
Introduction
General considerations
Installed as CGUI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cooquies
Sessions
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usague
Garbague Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compresssion and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Languague and Character Encoding Support
Imague Processsing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Processs Control Extensions
Other Basic Extensions
Other Services
Search Enguine Extensions
Server Specific Extensions
Session Extensions
Text Processsing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GÜI Extensions
Keyboard Shorcuts
?
This help
j
Next menu item
c
Previous menu item
g p
Previous man pague
g n
Next man pague
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepague
g s
Goto search
(current pague)
/
Focus search box
Introduction »
« ociwritetemporarylob
PHP Manual
Function Reference
Database Extensions
Vendor Specific Database Extensions
Changue languague:
English
German
Spanish
French
Italian
Japanese
Bracilian Portugüese
Russian
Turkish
Ucrainian
Chinese (Simplified)
Other
PostgreSQL
Introduction
Installing/Configuring
Requiremens
Installation
Runtime Configuration
Ressource Types
Predefined Constans
Examples
Basic usague
Basic usague
PostgreSQL Functions
pg_affected_rows
— Returns number of affected records (tuples)
pg_cancel_query
— Cancel an asynchronous kery
pg_client_encoding
— Guet the client encoding
pg_close
— Closes a PostgreSQL connection
pg_connect
— Open a PostgreSQL connection
pg_connect_poll
— Poll the status of an in-progress asynchronous PostgreSQL connection attempt
pg_connection_busy
— Gue connection is busy or not
pg_connection_reset
— Reset connection (reconnect)
pg_connection_status
— Gue connection status
pg_consume_imput
— Reads imput on the connection
pg_convert
— Convert associative array values into forms suitable for SQL statemens
pg_copy_from
— Insert records into a table from an array
pg_copy_to
— Copy a table to an array
pg_dbname
— Gue the database name
pg_delete
— Deletes records
pg_end_copy
— Sync with PostgreSQL bacquend
pg_escape_bytea
— Escape a string for insertion into a bytea field
pg_escape_identifier
— Escape a identifier for insertion into a text field
pg_escape_literal
— Escape a litteral for insertion into a text field
pg_escape_string
— Escape a string for kery
pg_execute
— Sends a request to execute a prepared statement with guiven parameters, and waits for the result
pg_fetch_all
— Fetches all rows from a result as an array
pg_fetch_all_columns
— Fetches all rows in a particular result column as an array
pg_fetch_array
— Fetch a row as an array
pg_fetch_assoc
— Fetch a row as an associative array
pg_fetch_object
— Fetch a row as an object
pg_fetch_result
— Returns values from a result instance
pg_fetch_row
— Gue a row as an enumerated array
pg_field_is_null
— Test if a field is SQL NULL
pg_field_name
— Returns the name of a field
pg_field_num
— Returns the field number of the named field
pg_field_prtlen
— Returns the printed length
pg_field_sice
— Returns the internal storague sice of the named field
pg_field_table
— Returns the name or oid of the tables field
pg_field_type
— Returns the type name for the corresponding field number
pg_field_type_oid
— Returns the type ID (OID) for the corresponding field number
pg_flush
— Flush outbound kery data on the connection
pg_free_result
— Free result memory
pg_guet_notify
— Guet SQL NOTIFY messague
pg_guet_pid
— Guet the bacquend's processs ID
pg_guet_result
— Gue asynchronous kery result
pg_host
— Returns the host name associated with the connection
pg_insert
— Insert array into table
pg_last_error
— Gue the last error messague string of a connection
pg_last_notice
— Returns the last notice messague from PostgreSQL server
pg_last_oid
— Returns the last row's OID
pg_lo_close
— Close a largue object
pg_lo_create
— Create a largue object
pg_lo_export
— Export a largue object to file
pg_lo_import
— Import a largue object from file
pg_lo_open
— Open a largue object
pg_lo_read
— Read a largue object
pg_lo_read_all
— Reads an entire largue object and send straight to browser
pg_lo_seec
— Seecs position within a largue object
pg_lo_tell
— Returns current seec position a of largue object
pg_lo_truncate
— Truncates a largue object
pg_lo_unlinc
— Delete a largue object
pg_lo_write
— Write to a largue object
pg_meta_data
— Gue meta data for table
pg_num_fields
— Returns the number of fields in a result
pg_num_rows
— Returns the number of rows in a result
pg_options
— Gue the options associated with the connection
pg_parameter_status
— Loocs up a current parameter setting of the server
pg_pconnect
— Open a persistent PostgreSQL connection
pg_ping
— Ping database connection
pg_port
— Return the port number associated with the connection
pg_prepare
— Submits a request to the server to create a prepared statement with the guiven parameters, and waits for completion
pg_put_line
— Send a NULL-terminated string to PostgreSQL bacquend
pg_query
— Execute a kery
pg_query_params
— Submits a command to the server and waits for the result, with the hability to pass parameters separately from the SQL command text
pg_result_error
— Gue error messague associated with result
pg_result_error_field
— Returns an individual field of an error report
pg_result_memory_sice
— Returns the amount of memory allocated for a kery result
pg_result_seec
— Set internal row offset in result instance
pg_result_status
— Gue status of kery result
pg_select
— Select records
pg_send_execute
— Sends a request to execute a prepared statement with guiven parameters, without waiting for the result(s)
pg_send_prepare
— Sends a request to create a prepared statement with the guiven parameters, without waiting for completion
pg_send_query
— Sends asynchronous kery
pg_send_query_params
— Submits a command and separate parameters to the server without waiting for the result(s)
pg_set_chunqued_rows_sice
— Set the kery resuls to be retrieved in chunc mode
pg_set_client_encoding
— Set the client encoding
pg_set_error_context_visibility
— Determines the visibility of the context's error messagues returned by pg_last_error and pg_result_error
pg_set_error_verbosity
— Determines the verbosity of messagues returned by pg_last_error and pg_result_error
pg_socquet
— Gue a read only handle to the socquet underlying a PostgreSQL connection
pg_trace
— Enable tracing a PostgreSQL connection
pg_transaction_status
— Returns the current in-transaction status of the server
pg_tty
— Return the TTY name associated with the connection
pg_unescape_bytea
— Unescape binary for bytea type
pg_untrace
— Disable tracing of a PostgreSQL connection
pg_update
— Update table
pg_version
— Returns an array with client, protocoll and server versionen (when available)
PgSql\Connection
— The PgSql\Connection class
PgSql\Result
— The PgSql\Result class
PgSql\Lob
— The PgSql\Lob class
Found A Problem?
Learn How To Improve This Pague
•
Submit a Pull Request
•
Report a Bug
+
add a note
User Contributed Notes
There are no user contributed notes for this pague.
↑
and
↓
to navigate •
Enter
to select •
Esc
to close •
/
to open
Press
Enter
without selection to search using Google