Lines Matching refs:PgSql

416     function pg_connect(string $connection_string, int $flags = 0): PgSql\Connection|false {}
418 function pg_pconnect(string $connection_string, int $flags = 0): PgSql\Connection|false {}
420 function pg_connect_poll(PgSql\Connection $connection): int {}
422 function pg_close(?PgSql\Connection $connection = null): bool {}
425 function pg_dbname(?PgSql\Connection $connection = null): string {}
427 function pg_last_error(?PgSql\Connection $connection = null): string {}
433 function pg_errormessage(?PgSql\Connection $connection = null): string {}
436 function pg_options(?PgSql\Connection $connection = null): string {}
439 function pg_port(?PgSql\Connection $connection = null): string {}
442 function pg_tty(?PgSql\Connection $connection = null): string {}
445 function pg_host(?PgSql\Connection $connection = null): string {}
451 function pg_version(?PgSql\Connection $connection = null): array {}
454 * @param PgSql\Connection|string $connection
459 function pg_ping(?PgSql\Connection $connection = null): bool {}
462 * @param PgSql\Connection|string $connection
465 function pg_query($connection, string $query = UNKNOWN): PgSql\Result|false {}
468 * @param PgSql\Connection|string $connection
471 function pg_exec($connection, string $query = UNKNOWN): PgSql\Result|false {}
474 * @param PgSql\Connection|string $connection
478 function pg_query_params($connection, $query, array $params = UNKNOWN): PgSql\Result|false {}
481 * @param PgSql\Connection|string $connection
484 …function pg_prepare($connection, string $statement_name, string $query = UNKNOWN): PgSql\Result|fa…
487 * @param PgSql\Connection|string $connection
491 … function pg_execute($connection, $statement_name, array $params = UNKNOWN): PgSql\Result|false {}
493 function pg_num_rows(PgSql\Result $result): int {}
499 function pg_numrows(PgSql\Result $result): int {}
501 function pg_num_fields(PgSql\Result $result): int {}
507 function pg_numfields(PgSql\Result $result): int {}
509 function pg_affected_rows(PgSql\Result $result): int {}
515 function pg_cmdtuples(PgSql\Result $result): int {}
517 …function pg_last_notice(PgSql\Connection $connection, int $mode = PGSQL_NOTICE_LAST): array|string…
519 …function pg_field_table(PgSql\Result $result, int $field, bool $oid_only = false): string|int|fals…
522 function pg_field_name(PgSql\Result $result, int $field): string {}
528 function pg_fieldname(PgSql\Result $result, int $field): string {}
530 function pg_field_size(PgSql\Result $result, int $field): int {}
536 function pg_fieldsize(PgSql\Result $result, int $field): int {}
538 function pg_field_type(PgSql\Result $result, int $field): string {}
544 function pg_fieldtype(PgSql\Result $result, int $field): string {}
547 function pg_field_type_oid(PgSql\Result $result, int $field): string|int {}
549 function pg_field_num(PgSql\Result $result, string $field): int {}
555 function pg_fieldnum(PgSql\Result $result, string $field): int {}
561 …function pg_fetch_result(PgSql\Result $result, $row, string|int $field = UNKNOWN): string|false|nu…
568 … function pg_result(PgSql\Result $result, $row, string|int $field = UNKNOWN): string|false|null {}
574 …function pg_fetch_row(PgSql\Result $result, ?int $row = null, int $mode = PGSQL_NUM): array|false …
580 function pg_fetch_assoc(PgSql\Result $result, ?int $row = null): array|false {}
586 …function pg_fetch_array(PgSql\Result $result, ?int $row = null, int $mode = PGSQL_BOTH): array|fal…
589 …function pg_fetch_object(PgSql\Result $result, ?int $row = null, string $class = "stdClass", array…
595 function pg_fetch_all(PgSql\Result $result, int $mode = PGSQL_ASSOC): array {}
601 function pg_fetch_all_columns(PgSql\Result $result, int $field = 0): array {}
603 function pg_result_seek(PgSql\Result $result, int $row): bool {}
606 function pg_field_prtlen(PgSql\Result $result, $row, string|int $field = UNKNOWN): int|false {}
613 function pg_fieldprtlen(PgSql\Result $result, $row, string|int $field = UNKNOWN): int|false {}
616 function pg_field_is_null(PgSql\Result $result, $row, string|int $field = UNKNOWN): int|false {}
623 function pg_fieldisnull(PgSql\Result $result, $row, string|int $field = UNKNOWN): int|false {}
625 function pg_free_result(PgSql\Result $result): bool {}
631 function pg_freeresult(PgSql\Result $result): bool {}
634 function pg_last_oid(PgSql\Result $result): string|int|false {}
640 function pg_getlastoid(PgSql\Result $result): string|int|false {}
642 …function pg_trace(string $filename, string $mode = "w", ?PgSql\Connection $connection = null): boo…
644 function pg_untrace(?PgSql\Connection $connection = null): bool {}
647 * @param PgSql\Connection $connection
654 * @param PgSql\Connection $connection
662 * @param PgSql\Connection $connection
668 * @param PgSql\Connection $connection
676 * @param PgSql\Connection $connection
680 function pg_lo_open($connection, $oid = UNKNOWN, string $mode = UNKNOWN): PgSql\Lob|false {}
683 * @param PgSql\Connection $connection
688 function pg_loopen($connection, $oid = UNKNOWN, string $mode = UNKNOWN): PgSql\Lob|false {}
690 function pg_lo_close(PgSql\Lob $lob): bool {}
696 function pg_loclose(PgSql\Lob $lob): bool {}
699 function pg_lo_read(PgSql\Lob $lob, int $length = 8192): string|false {}
705 function pg_loread(PgSql\Lob $lob, int $length = 8192): string|false {}
707 function pg_lo_write(PgSql\Lob $lob, string $data, ?int $length = null): int|false {}
713 function pg_lowrite(PgSql\Lob $lob, string $data, ?int $length = null): int|false {}
715 function pg_lo_read_all(PgSql\Lob $lob): int {}
721 function pg_loreadall(PgSql\Lob $lob): int {}
724 * @param PgSql\Connection|string $connection
732 * @param PgSql\Connection|string $connection
741 * @param PgSql\Connection|string|int $connection
748 * @param PgSql\Connection|string|int $connection
756 function pg_lo_seek(PgSql\Lob $lob, int $offset, int $whence = SEEK_CUR): bool {}
758 function pg_lo_tell(PgSql\Lob $lob): int {}
760 function pg_lo_truncate(PgSql\Lob $lob, int $size): bool {}
762 /** @param PgSql\Connection|int $connection */
765 /** @param PgSql\Connection|string $connection */
769 * @param PgSql\Connection|string $connection
775 function pg_client_encoding(?PgSql\Connection $connection = null): string {}
781 function pg_clientencoding(?PgSql\Connection $connection = null): string {}
783 function pg_end_copy(?PgSql\Connection $connection = null): bool {}
785 /** @param PgSql\Connection|string $connection */
792 …function pg_copy_to(PgSql\Connection $connection, string $table_name, string $separator = "\t", st…
794 …function pg_copy_from(PgSql\Connection $connection, string $table_name, array $rows, string $separ…
797 * @param PgSql\Connection|string $connection
803 * @param PgSql\Connection|string $connection
812 * @param PgSql\Connection|string $connection
818 * @param PgSql\Connection|string $connection
824 function pg_result_error(PgSql\Result $result): string|false {}
827 function pg_result_error_field(PgSql\Result $result, int $field_code): string|false|null {}
829 function pg_connection_status(PgSql\Connection $connection): int {}
831 function pg_transaction_status(PgSql\Connection $connection): int {}
833 function pg_connection_reset(PgSql\Connection $connection): bool {}
835 function pg_cancel_query(PgSql\Connection $connection): bool {}
837 function pg_connection_busy(PgSql\Connection $connection): bool {}
839 function pg_send_query(PgSql\Connection $connection, string $query): int|bool {}
841 …function pg_send_query_params(PgSql\Connection $connection, string $query, array $params): int|boo…
843 …function pg_send_prepare(PgSql\Connection $connection, string $statement_name, string $query): int…
845 …function pg_send_execute(PgSql\Connection $connection, string $statement_name, array $params): int…
848 function pg_get_result(PgSql\Connection $connection): PgSql\Result|false {}
851 function pg_result_status(PgSql\Result $result, int $mode = PGSQL_STATUS_LONG): string|int {}
857 function pg_get_notify(PgSql\Connection $connection, int $mode = PGSQL_ASSOC): array|false {}
859 function pg_get_pid(PgSql\Connection $connection): int {}
865 function pg_socket(PgSql\Connection $connection) {}
867 function pg_consume_input(PgSql\Connection $connection): bool {}
869 function pg_flush(PgSql\Connection $connection): int|bool {}
875 …function pg_meta_data(PgSql\Connection $connection, string $table_name, bool $extended = false): a…
881 …function pg_convert(PgSql\Connection $connection, string $table_name, array $values, int $flags = …
884 …function pg_insert(PgSql\Connection $connection, string $table_name, array $values, int $flags = P…
887 …function pg_update(PgSql\Connection $connection, string $table_name, array $values, array $conditi…
890 …function pg_delete(PgSql\Connection $connection, string $table_name, array $conditions, int $flags…
896 …function pg_select(PgSql\Connection $connection, string $table_name, array $conditions, int $flags…
899 namespace PgSql { namespace