Lines Matching refs:PgSql

5 namespace PgSql {  namespace
35 function pg_connect(string $connection_string, int $flags = 0): PgSql\Connection|false {}
37 function pg_pconnect(string $connection_string, int $flags = 0): PgSql\Connection|false {}
39 function pg_connect_poll(PgSql\Connection $connection): int {}
41 function pg_close(?PgSql\Connection $connection = null): bool {}
44 function pg_dbname(?PgSql\Connection $connection = null): string {}
46 function pg_last_error(?PgSql\Connection $connection = null): string {}
52 function pg_errormessage(?PgSql\Connection $connection = null): string {}
55 function pg_options(?PgSql\Connection $connection = null): string {}
58 function pg_port(?PgSql\Connection $connection = null): string {}
61 function pg_tty(?PgSql\Connection $connection = null): string {}
64 function pg_host(?PgSql\Connection $connection = null): string {}
70 function pg_version(?PgSql\Connection $connection = null): array {}
73 * @param PgSql\Connection|string $connection
78 function pg_ping(?PgSql\Connection $connection = null): bool {}
81 * @param PgSql\Connection|string $connection
84 function pg_query($connection, string $query = UNKNOWN): PgSql\Result|false {}
87 * @param PgSql\Connection|string $connection
90 function pg_exec($connection, string $query = UNKNOWN): PgSql\Result|false {}
93 * @param PgSql\Connection|string $connection
97 function pg_query_params($connection, $query, array $params = UNKNOWN): PgSql\Result|false {}
100 * @param PgSql\Connection|string $connection
103 …function pg_prepare($connection, string $statement_name, string $query = UNKNOWN): PgSql\Result|fa…
106 * @param PgSql\Connection|string $connection
110 … function pg_execute($connection, $statement_name, array $params = UNKNOWN): PgSql\Result|false {}
112 function pg_num_rows(PgSql\Result $result): int {}
118 function pg_numrows(PgSql\Result $result): int {}
120 function pg_num_fields(PgSql\Result $result): int {}
126 function pg_numfields(PgSql\Result $result): int {}
128 function pg_affected_rows(PgSql\Result $result): int {}
134 function pg_cmdtuples(PgSql\Result $result): int {}
136 …function pg_last_notice(PgSql\Connection $connection, int $mode = PGSQL_NOTICE_LAST): array|string…
138 …function pg_field_table(PgSql\Result $result, int $field, bool $oid_only = false): string|int|fals…
141 function pg_field_name(PgSql\Result $result, int $field): string {}
147 function pg_fieldname(PgSql\Result $result, int $field): string {}
149 function pg_field_size(PgSql\Result $result, int $field): int {}
155 function pg_fieldsize(PgSql\Result $result, int $field): int {}
157 function pg_field_type(PgSql\Result $result, int $field): string {}
163 function pg_fieldtype(PgSql\Result $result, int $field): string {}
166 function pg_field_type_oid(PgSql\Result $result, int $field): string|int {}
168 function pg_field_num(PgSql\Result $result, string $field): int {}
174 function pg_fieldnum(PgSql\Result $result, string $field): int {}
180 …function pg_fetch_result(PgSql\Result $result, $row, string|int $field = UNKNOWN): string|false|nu…
187 … function pg_result(PgSql\Result $result, $row, string|int $field = UNKNOWN): string|false|null {}
193 …function pg_fetch_row(PgSql\Result $result, ?int $row = null, int $mode = PGSQL_NUM): array|false …
199 function pg_fetch_assoc(PgSql\Result $result, ?int $row = null): array|false {}
205 …function pg_fetch_array(PgSql\Result $result, ?int $row = null, int $mode = PGSQL_BOTH): array|fal…
208 …function pg_fetch_object(PgSql\Result $result, ?int $row = null, string $class = "stdClass", array…
214 function pg_fetch_all(PgSql\Result $result, int $mode = PGSQL_ASSOC): array {}
220 function pg_fetch_all_columns(PgSql\Result $result, int $field = 0): array {}
222 function pg_result_seek(PgSql\Result $result, int $row): bool {}
225 function pg_field_prtlen(PgSql\Result $result, $row, string|int $field = UNKNOWN): int|false {}
232 function pg_fieldprtlen(PgSql\Result $result, $row, string|int $field = UNKNOWN): int|false {}
235 function pg_field_is_null(PgSql\Result $result, $row, string|int $field = UNKNOWN): int|false {}
242 function pg_fieldisnull(PgSql\Result $result, $row, string|int $field = UNKNOWN): int|false {}
244 function pg_free_result(PgSql\Result $result): bool {}
250 function pg_freeresult(PgSql\Result $result): bool {}
253 function pg_last_oid(PgSql\Result $result): string|int|false {}
259 function pg_getlastoid(PgSql\Result $result): string|int|false {}
261 …function pg_trace(string $filename, string $mode = "w", ?PgSql\Connection $connection = null): boo…
263 function pg_untrace(?PgSql\Connection $connection = null): bool {}
266 * @param PgSql\Connection $connection
273 * @param PgSql\Connection $connection
281 * @param PgSql\Connection $connection
287 * @param PgSql\Connection $connection
295 * @param PgSql\Connection $connection
299 function pg_lo_open($connection, $oid = UNKNOWN, string $mode = UNKNOWN): PgSql\Lob|false {}
302 * @param PgSql\Connection $connection
307 function pg_loopen($connection, $oid = UNKNOWN, string $mode = UNKNOWN): PgSql\Lob|false {}
309 function pg_lo_close(PgSql\Lob $lob): bool {}
315 function pg_loclose(PgSql\Lob $lob): bool {}
318 function pg_lo_read(PgSql\Lob $lob, int $length = 8192): string|false {}
324 function pg_loread(PgSql\Lob $lob, int $length = 8192): string|false {}
326 function pg_lo_write(PgSql\Lob $lob, string $data, ?int $length = null): int|false {}
332 function pg_lowrite(PgSql\Lob $lob, string $data, ?int $length = null): int|false {}
334 function pg_lo_read_all(PgSql\Lob $lob): int {}
340 function pg_loreadall(PgSql\Lob $lob): int {}
343 * @param PgSql\Connection|string $connection
351 * @param PgSql\Connection|string $connection
360 * @param PgSql\Connection|string|int $connection
367 * @param PgSql\Connection|string|int $connection
375 function pg_lo_seek(PgSql\Lob $lob, int $offset, int $whence = SEEK_CUR): bool {}
377 function pg_lo_tell(PgSql\Lob $lob): int {}
379 function pg_lo_truncate(PgSql\Lob $lob, int $size): bool {}
381 /** @param PgSql\Connection|int $connection */
384 /** @param PgSql\Connection|string $connection */
388 * @param PgSql\Connection|string $connection
394 function pg_client_encoding(?PgSql\Connection $connection = null): string {}
400 function pg_clientencoding(?PgSql\Connection $connection = null): string {}
402 function pg_end_copy(?PgSql\Connection $connection = null): bool {}
404 /** @param PgSql\Connection|string $connection */
411 …function pg_copy_to(PgSql\Connection $connection, string $table_name, string $separator = "\t", st…
413 …function pg_copy_from(PgSql\Connection $connection, string $table_name, array $rows, string $separ…
416 * @param PgSql\Connection|string $connection
422 * @param PgSql\Connection|string $connection
431 * @param PgSql\Connection|string $connection
437 * @param PgSql\Connection|string $connection
443 function pg_result_error(PgSql\Result $result): string|false {}
446 function pg_result_error_field(PgSql\Result $result, int $field_code): string|false|null {}
448 function pg_connection_status(PgSql\Connection $connection): int {}
450 function pg_transaction_status(PgSql\Connection $connection): int {}
452 function pg_connection_reset(PgSql\Connection $connection): bool {}
454 function pg_cancel_query(PgSql\Connection $connection): bool {}
456 function pg_connection_busy(PgSql\Connection $connection): bool {}
458 function pg_send_query(PgSql\Connection $connection, string $query): int|bool {}
460 …function pg_send_query_params(PgSql\Connection $connection, string $query, array $params): int|boo…
462 …function pg_send_prepare(PgSql\Connection $connection, string $statement_name, string $query): int…
464 …function pg_send_execute(PgSql\Connection $connection, string $statement_name, array $params): int…
467 function pg_get_result(PgSql\Connection $connection): PgSql\Result|false {}
470 function pg_result_status(PgSql\Result $result, int $mode = PGSQL_STATUS_LONG): string|int {}
476 function pg_get_notify(PgSql\Connection $connection, int $mode = PGSQL_ASSOC): array|false {}
478 function pg_get_pid(PgSql\Connection $connection): int {}
484 function pg_socket(PgSql\Connection $connection) {}
486 function pg_consume_input(PgSql\Connection $connection): bool {}
488 function pg_flush(PgSql\Connection $connection): int|bool {}
494 …function pg_meta_data(PgSql\Connection $connection, string $table_name, bool $extended = false): a…
500 …function pg_convert(PgSql\Connection $connection, string $table_name, array $values, int $flags = …
503 …function pg_insert(PgSql\Connection $connection, string $table_name, array $values, int $flags = P…
506 …function pg_update(PgSql\Connection $connection, string $table_name, array $values, array $conditi…
509 …function pg_delete(PgSql\Connection $connection, string $table_name, array $conditions, int $flags…
515 …function pg_select(PgSql\Connection $connection, string $table_name, array $conditions, int $flags…