php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
pgsql.stub.php
Go to the documentation of this file.
1<?php
2
4
5namespace {
6 /* libpq version */
7
12 const PGSQL_LIBPQ_VERSION = UNKNOWN;
18 const PGSQL_LIBPQ_VERSION_STR = UNKNOWN;
19
20 /* For connection option */
21
26 const PGSQL_CONNECT_FORCE_NEW = UNKNOWN;
31 const PGSQL_CONNECT_ASYNC = UNKNOWN;
32
33 /* For pg_fetch_array() */
34
39 const PGSQL_ASSOC = UNKNOWN;
44 const PGSQL_NUM = UNKNOWN;
49 const PGSQL_BOTH = UNKNOWN;
50
51 /* For pg_last_notice() */
52
57 const PGSQL_NOTICE_LAST = UNKNOWN;
62 const PGSQL_NOTICE_ALL = UNKNOWN;
67 const PGSQL_NOTICE_CLEAR = UNKNOWN;
68
69 /* For pg_connection_status() */
70
75 const PGSQL_CONNECTION_BAD = UNKNOWN;
80 const PGSQL_CONNECTION_OK = UNKNOWN;
85 const PGSQL_CONNECTION_STARTED = UNKNOWN;
90 const PGSQL_CONNECTION_MADE = UNKNOWN;
101#ifdef CONNECTION_SSL_STARTUP
107#endif
112 const PGSQL_CONNECTION_SETENV = UNKNOWN;
113
114 /* For pg_connect_poll() */
119 const PGSQL_POLLING_FAILED = UNKNOWN;
124 const PGSQL_POLLING_READING = UNKNOWN;
129 const PGSQL_POLLING_WRITING = UNKNOWN;
134 const PGSQL_POLLING_OK = UNKNOWN;
139 const PGSQL_POLLING_ACTIVE = UNKNOWN;
140
141 /* For pg_transaction_status() */
142
147 const PGSQL_TRANSACTION_IDLE = UNKNOWN;
168
169 /* For pg_set_error_verbosity() */
170
175 const PGSQL_ERRORS_TERSE = UNKNOWN;
180 const PGSQL_ERRORS_DEFAULT = UNKNOWN;
185 const PGSQL_ERRORS_VERBOSE = UNKNOWN;
186 #ifdef HAVE_PQERRORS_SQLSTATE
191 const PGSQL_ERRORS_SQLSTATE = UNKNOWN;
192 #else
197 const PGSQL_ERRORS_SQLSTATE = UNKNOWN;
198 #endif
199
200 /* For lo_seek() */
201
206 const PGSQL_SEEK_SET = UNKNOWN;
211 const PGSQL_SEEK_CUR = UNKNOWN;
216 const PGSQL_SEEK_END = UNKNOWN;
217
218 /* For pg_result_status() return value type */
219
224 const PGSQL_STATUS_LONG = UNKNOWN;
229 const PGSQL_STATUS_STRING = UNKNOWN;
230
231 /* For pg_result_status() return value */
232
237 const PGSQL_EMPTY_QUERY = UNKNOWN;
242 const PGSQL_COMMAND_OK = UNKNOWN;
247 const PGSQL_TUPLES_OK = UNKNOWN;
248#ifdef HAVE_PG_SET_CHUNKED_ROWS_SIZE
253 const PGSQL_TUPLES_CHUNK = UNKNOWN;
254#endif
259 const PGSQL_COPY_OUT = UNKNOWN;
264 const PGSQL_COPY_IN = UNKNOWN;
269 const PGSQL_BAD_RESPONSE = UNKNOWN;
274 const PGSQL_NONFATAL_ERROR = UNKNOWN;
279 const PGSQL_FATAL_ERROR = UNKNOWN;
280
281 /* For pg_result_error_field() field codes */
282
287 const PGSQL_DIAG_SEVERITY = UNKNOWN;
292 const PGSQL_DIAG_SQLSTATE = UNKNOWN;
307 const PGSQL_DIAG_MESSAGE_HINT = UNKNOWN;
313#ifdef PG_DIAG_INTERNAL_POSITION
319#endif
320#ifdef PG_DIAG_INTERNAL_QUERY
326#endif
331 const PGSQL_DIAG_CONTEXT = UNKNOWN;
336 const PGSQL_DIAG_SOURCE_FILE = UNKNOWN;
341 const PGSQL_DIAG_SOURCE_LINE = UNKNOWN;
347#ifdef PG_DIAG_SCHEMA_NAME
352 const PGSQL_DIAG_SCHEMA_NAME = UNKNOWN;
353#endif
354#ifdef PG_DIAG_TABLE_NAME
359 const PGSQL_DIAG_TABLE_NAME = UNKNOWN;
360#endif
361#ifdef PG_DIAG_COLUMN_NAME
366 const PGSQL_DIAG_COLUMN_NAME = UNKNOWN;
367#endif
368#ifdef PG_DIAG_DATATYPE_NAME
374#endif
375#ifdef PG_DIAG_CONSTRAINT_NAME
381#endif
382#ifdef PG_DIAG_SEVERITY_NONLOCALIZED
388#endif
389
390 /* pg_convert options */
391
401 const PGSQL_CONV_FORCE_NULL = UNKNOWN;
407
408 /* pg_insert/update/delete/select options */
409
414 const PGSQL_DML_ESCAPE = UNKNOWN;
419 const PGSQL_DML_NO_CONV = UNKNOWN;
424 const PGSQL_DML_EXEC = UNKNOWN;
429 const PGSQL_DML_ASYNC = UNKNOWN;
434 const PGSQL_DML_STRING = UNKNOWN;
435#ifdef PQTRACE_SUPPPRESS_TIMESTAMPS
441#endif
442#ifdef PQTRACE_REGRESS_MODE
448#endif
449
450 /* For pg_set_error_context_visibility() */
451
467
468 function pg_connect(string $connection_string, int $flags = 0): PgSql\Connection|false {}
469
470 function pg_pconnect(string $connection_string, int $flags = 0): PgSql\Connection|false {}
471
472 function pg_connect_poll(PgSql\Connection $connection): int {}
473
474 function pg_close(?PgSql\Connection $connection = null): true {}
475
477 function pg_dbname(?PgSql\Connection $connection = null): string {}
478
479 function pg_last_error(?PgSql\Connection $connection = null): string {}
480
484 #[\Deprecated(since: '8.0', message: 'use pg_last_error() instead')]
485 function pg_errormessage(?PgSql\Connection $connection = null): string {}
486
488 function pg_options(?PgSql\Connection $connection = null): string {}
489
491 function pg_port(?PgSql\Connection $connection = null): string {}
492
494 function pg_tty(?PgSql\Connection $connection = null): string {}
495
497 function pg_host(?PgSql\Connection $connection = null): string {}
498
503 function pg_version(?PgSql\Connection $connection = null): array {}
504
509 function pg_jit(?PgSql\Connection $connection = null): array {}
510
515 function pg_parameter_status($connection, string $name = UNKNOWN): string|false {}
516
517 function pg_ping(?PgSql\Connection $connection = null): bool {}
518
523 function pg_query($connection, string $query = UNKNOWN): PgSql\Result|false {}
524
529 function pg_exec($connection, string $query = UNKNOWN): PgSql\Result|false {}
530
536 function pg_query_params($connection, $query, array $params = UNKNOWN): PgSql\Result|false {}
537
542 function pg_prepare($connection, string $statement_name, string $query = UNKNOWN): PgSql\Result|false {}
543
549 function pg_execute($connection, $statement_name, array $params = UNKNOWN): PgSql\Result|false {}
550
552
556 #[\Deprecated(since: '8.0', message: 'use pg_num_rows() instead')]
558
560
564 #[\Deprecated(since: '8.0', message: 'use pg_num_fields() instead')]
566
568
572 #[\Deprecated(since: '8.0', message: 'use pg_affected_rows() instead')]
574
575 function pg_last_notice(PgSql\Connection $connection, int $mode = PGSQL_NOTICE_LAST): array|string|bool {}
576
577 function pg_field_table(PgSql\Result $result, int $field, bool $oid_only = false): string|int|false {}
578
580 function pg_field_name(PgSql\Result $result, int $field): string {}
581
585 #[\Deprecated(since: '8.0', message: 'use pg_field_name() instead')]
586 function pg_fieldname(PgSql\Result $result, int $field): string {}
587
588 function pg_field_size(PgSql\Result $result, int $field): int {}
589
593 #[\Deprecated(since: '8.0', message: 'use pg_field_size() instead')]
594 function pg_fieldsize(PgSql\Result $result, int $field): int {}
595
596 function pg_field_type(PgSql\Result $result, int $field): string {}
597
601 #[\Deprecated(since: '8.0', message: 'use pg_field_type() instead')]
602 function pg_fieldtype(PgSql\Result $result, int $field): string {}
603
605 function pg_field_type_oid(PgSql\Result $result, int $field): string|int {}
606
607 function pg_field_num(PgSql\Result $result, string $field): int {}
608
612 #[\Deprecated(since: '8.0', message: 'use pg_field_num() instead')]
613 function pg_fieldnum(PgSql\Result $result, string $field): int {}
614
619 function pg_fetch_result(PgSql\Result $result, $row, string|int $field = UNKNOWN): string|false|null {}
620
625 #[\Deprecated(since: '8.0', message: 'use pg_fetch_result() instead')]
626 function pg_result(PgSql\Result $result, $row, string|int $field = UNKNOWN): string|false|null {}
627
632 function pg_fetch_row(PgSql\Result $result, ?int $row = null, int $mode = PGSQL_NUM): array|false {}
633
638 function pg_fetch_assoc(PgSql\Result $result, ?int $row = null): array|false {}
639
644 function pg_fetch_array(PgSql\Result $result, ?int $row = null, int $mode = PGSQL_BOTH): array|false {}
645
647 function pg_fetch_object(PgSql\Result $result, ?int $row = null, string $class = "stdClass", array $constructor_args = []): object|false {}
648
653 function pg_fetch_all(PgSql\Result $result, int $mode = PGSQL_ASSOC): array {}
654
659 function pg_fetch_all_columns(PgSql\Result $result, int $field = 0): array {}
660
661 function pg_result_seek(PgSql\Result $result, int $row): bool {}
662
664 function pg_field_prtlen(PgSql\Result $result, $row, string|int $field = UNKNOWN): int|false {}
665
669 #[\Deprecated(since: '8.0', message: 'use pg_field_prtlen() instead')]
670 function pg_fieldprtlen(PgSql\Result $result, $row, string|int $field = UNKNOWN): int|false {}
671
673 function pg_field_is_null(PgSql\Result $result, $row, string|int $field = UNKNOWN): int|false {}
674
678 #[\Deprecated(since: '8.0', message: 'use pg_field_is_null() instead')]
679 function pg_fieldisnull(PgSql\Result $result, $row, string|int $field = UNKNOWN): int|false {}
680
682
686 #[\Deprecated(since: '8.0', message: 'use pg_free_result() instead')]
688
690 function pg_last_oid(PgSql\Result $result): string|int|false {}
691
695 #[\Deprecated(since: '8.0', message: 'use pg_last_oid() instead')]
696 function pg_getlastoid(PgSql\Result $result): string|int|false {}
697
698 function pg_trace(string $filename, string $mode = "w", ?PgSql\Connection $connection = null, int $trace_mode = 0): bool {}
699
700 function pg_untrace(?PgSql\Connection $connection = null): true {}
701
707 function pg_lo_create($connection = UNKNOWN, $oid = UNKNOWN): string|int|false {}
708
714 #[\Deprecated(since: '8.0', message: 'use pg_lo_create() instead')]
715 function pg_locreate($connection = UNKNOWN, $oid = UNKNOWN): string|int|false {}
716
721 function pg_lo_unlink($connection, $oid = UNKNOWN): bool {}
722
728 #[\Deprecated(since: '8.0', message: 'use pg_lo_unlink() instead')]
729 function pg_lounlink($connection, $oid = UNKNOWN): bool {}
730
736 function pg_lo_open($connection, $oid = UNKNOWN, string $mode = UNKNOWN): PgSql\Lob|false {}
737
743 #[\Deprecated(since: '8.0', message: 'use pg_lo_open() instead')]
744 function pg_loopen($connection, $oid = UNKNOWN, string $mode = UNKNOWN): PgSql\Lob|false {}
745
746 function pg_lo_close(PgSql\Lob $lob): bool {}
747
751 #[\Deprecated(since: '8.0', message: 'use pg_lo_close() instead')]
752 function pg_loclose(PgSql\Lob $lob): bool {}
753
755 function pg_lo_read(PgSql\Lob $lob, int $length = 8192): string|false {}
756
760 #[\Deprecated(since: '8.0', message: 'use pg_lo_read() instead')]
761 function pg_loread(PgSql\Lob $lob, int $length = 8192): string|false {}
762
763 function pg_lo_write(PgSql\Lob $lob, string $data, ?int $length = null): int|false {}
764
768 #[\Deprecated(since: '8.0', message: 'use pg_lo_write() instead')]
769 function pg_lowrite(PgSql\Lob $lob, string $data, ?int $length = null): int|false {}
770
771 function pg_lo_read_all(PgSql\Lob $lob): int {}
772
776 #[\Deprecated(since: '8.0', message: 'use pg_lo_read_all() instead')]
777 function pg_loreadall(PgSql\Lob $lob): int {}
778
785 function pg_lo_import($connection, $filename = UNKNOWN, $oid = UNKNOWN): string|int|false {}
786
793 #[\Deprecated(since: '8.0', message: 'use pg_lo_import() instead')]
794 function pg_loimport($connection, $filename = UNKNOWN, $oid = UNKNOWN): string|int|false {}
795
801 function pg_lo_export($connection, $oid = UNKNOWN, $filename = UNKNOWN): bool {}
802
809 #[\Deprecated(since: '8.0', message: 'use pg_lo_export() instead')]
810 function pg_loexport($connection, $oid = UNKNOWN, $filename = UNKNOWN): bool {}
811
812 function pg_lo_seek(PgSql\Lob $lob, int $offset, int $whence = SEEK_CUR): bool {}
813
814 function pg_lo_tell(PgSql\Lob $lob): int {}
815
816 function pg_lo_truncate(PgSql\Lob $lob, int $size): bool {}
817
819 function pg_set_error_verbosity($connection, int $verbosity = UNKNOWN): int|false {}
820
822 function pg_set_client_encoding($connection, string $encoding = UNKNOWN): int {}
823
828 #[\Deprecated(since: '8.0', message: 'use pg_set_client_encoding() instead')]
829 function pg_setclientencoding($connection, string $encoding = UNKNOWN): int {}
830
831 function pg_client_encoding(?PgSql\Connection $connection = null): string {}
832
836 #[\Deprecated(since: '8.0', message: 'use pg_client_encoding() instead')]
837 function pg_clientencoding(?PgSql\Connection $connection = null): string {}
838
839 function pg_end_copy(?PgSql\Connection $connection = null): bool {}
840
842 function pg_put_line($connection, string $query = UNKNOWN): bool {}
843
848 function pg_copy_to(PgSql\Connection $connection, string $table_name, string $separator = "\t", string $null_as = "\\\\N"): array|false {}
849
850 function pg_copy_from(PgSql\Connection $connection, string $table_name, array $rows, string $separator = "\t", string $null_as = "\\\\N"): bool {}
851
856 function pg_escape_string($connection, string $string = UNKNOWN): string {}
857
862 function pg_escape_bytea($connection, string $string = UNKNOWN): string {}
863
865 function pg_unescape_bytea(string $string): string {}
866
871 function pg_escape_literal($connection, string $string = UNKNOWN): string|false {}
872
877 function pg_escape_identifier($connection, string $string = UNKNOWN): string|false {}
878
880 function pg_result_error(PgSql\Result $result): string|false {}
881
883 function pg_result_error_field(PgSql\Result $result, int $field_code): string|false|null {}
884
885 function pg_connection_status(PgSql\Connection $connection): int {}
886
887 function pg_transaction_status(PgSql\Connection $connection): int {}
888
889 function pg_connection_reset(PgSql\Connection $connection): bool {}
890
891 function pg_cancel_query(PgSql\Connection $connection): bool {}
892
893 function pg_connection_busy(PgSql\Connection $connection): bool {}
894
895 function pg_send_query(PgSql\Connection $connection, string $query): int|bool {}
896
897 function pg_send_query_params(PgSql\Connection $connection, string $query, array $params): int|bool {}
898
899 function pg_send_prepare(PgSql\Connection $connection, string $statement_name, string $query): int|bool {}
900
901 function pg_send_execute(PgSql\Connection $connection, string $statement_name, array $params): int|bool {}
902
904 function pg_get_result(PgSql\Connection $connection): PgSql\Result|false {}
905
907 function pg_result_status(PgSql\Result $result, int $mode = PGSQL_STATUS_LONG): string|int {}
908
913 function pg_get_notify(PgSql\Connection $connection, int $mode = PGSQL_ASSOC): array|false {}
914
915 function pg_get_pid(PgSql\Connection $connection): int {}
916
921 function pg_socket(PgSql\Connection $connection) {}
922
923 function pg_consume_input(PgSql\Connection $connection): bool {}
924
925 function pg_flush(PgSql\Connection $connection): int|bool {}
926
931 function pg_meta_data(PgSql\Connection $connection, string $table_name, bool $extended = false): array|false {}
932
937 function pg_convert(PgSql\Connection $connection, string $table_name, array $values, int $flags = 0): array|false {}
938
940 function pg_insert(PgSql\Connection $connection, string $table_name, array $values, int $flags = PGSQL_DML_EXEC): PgSql\Result|string|bool {}
941
943 function pg_update(PgSql\Connection $connection, string $table_name, array $values, array $conditions, int $flags = PGSQL_DML_EXEC): string|bool {}
944
946 function pg_delete(PgSql\Connection $connection, string $table_name, array $conditions, int $flags = PGSQL_DML_EXEC): string|bool {}
947
952 function pg_select(PgSql\Connection $connection, string $table_name, array $conditions = [], int $flags = PGSQL_DML_EXEC, int $mode = PGSQL_ASSOC): array|string|false {}
953
954 function pg_set_error_context_visibility(PgSql\Connection $connection, int $visibility): int {}
955
956#ifdef HAVE_PG_RESULT_MEMORY_SIZE
958#endif
959
960 function pg_change_password(PgSql\Connection $connection, string $user, #[\SensitiveParameter] string $password): bool {}
961
962 function pg_put_copy_data(PgSql\Connection $connection, string $cmd): int {}
963 function pg_put_copy_end(PgSql\Connection $connection, ?string $error = null): int {}
964
968 function pg_socket_poll($socket, int $read, int $write, int $timeout = -1): int {}
969
970#ifdef HAVE_PG_SET_CHUNKED_ROWS_SIZE
971 function pg_set_chunked_rows_size(PgSql\Connection $connection, int $size): bool {}
972#endif
973}
974
975namespace PgSql {
980 final class Connection
981 {
982 }
983
988 final class Result
989 {
990 }
991
996 final class Lob
997 {
998 }
999
1000}
$filename
Definition create.php:9
$data
Definition bench.php:6
const SEEK_CUR
Definition file.stub.php:16
foreach(explode("\n", $input) as $line) $result
pg_get_result(PgSql\Connection $connection)
pg_errormessage(?PgSql\Connection $connection=null)
const PGSQL_SEEK_SET
pg_trace(string $filename, string $mode="w", ?PgSql\Connection $connection=null, int $trace_mode=0)
pg_fetch_result(PgSql\Result $result, $row, string|int $field=UNKNOWN)
const PGSQL_POLLING_OK
pg_lo_close(PgSql\Lob $lob)
const PGSQL_BAD_RESPONSE
pg_parameter_status($connection, string $name=UNKNOWN)
pg_lo_seek(PgSql\Lob $lob, int $offset, int $whence=SEEK_CUR)
pg_unescape_bytea(string $string)
pg_field_prtlen(PgSql\Result $result, $row, string|int $field=UNKNOWN)
pg_pconnect(string $connection_string, int $flags=0)
const PGSQL_CONNECT_ASYNC
const PGSQL_CONV_FORCE_NULL
pg_result(PgSql\Result $result, $row, string|int $field=UNKNOWN)
const PGSQL_FATAL_ERROR
pg_select(PgSql\Connection $connection, string $table_name, array $conditions=[], int $flags=PGSQL_DML_EXEC, int $mode=PGSQL_ASSOC)
pg_lo_unlink($connection, $oid=UNKNOWN)
const PGSQL_TUPLES_CHUNK
const PGSQL_DIAG_SOURCE_FILE
pg_fieldname(PgSql\Result $result, int $field)
pg_untrace(?PgSql\Connection $connection=null)
pg_loopen($connection, $oid=UNKNOWN, string $mode=UNKNOWN)
pg_prepare($connection, string $statement_name, string $query=UNKNOWN)
pg_close(?PgSql\Connection $connection=null)
const PGSQL_TRACE_REGRESS_MODE
pg_field_name(PgSql\Result $result, int $field)
const PGSQL_COPY_OUT
const PGSQL_ASSOC
const PGSQL_DIAG_SEVERITY_NONLOCALIZED
const PGSQL_SHOW_CONTEXT_ERRORS
pg_fetch_all_columns(PgSql\Result $result, int $field=0)
pg_set_error_verbosity($connection, int $verbosity=UNKNOWN)
pg_fieldprtlen(PgSql\Result $result, $row, string|int $field=UNKNOWN)
pg_fieldsize(PgSql\Result $result, int $field)
pg_field_type(PgSql\Result $result, int $field)
const PGSQL_ERRORS_DEFAULT
pg_query($connection, string $query=UNKNOWN)
pg_lo_tell(PgSql\Lob $lob)
const PGSQL_DIAG_TABLE_NAME
pg_fetch_array(PgSql\Result $result, ?int $row=null, int $mode=PGSQL_BOTH)
pg_cmdtuples(PgSql\Result $result)
const PGSQL_SEEK_END
const PGSQL_CONV_IGNORE_NOT_NULL
pg_escape_literal($connection, string $string=UNKNOWN)
pg_set_client_encoding($connection, string $encoding=UNKNOWN)
pg_connection_status(PgSql\Connection $connection)
const PGSQL_STATUS_STRING
pg_convert(PgSql\Connection $connection, string $table_name, array $values, int $flags=0)
pg_socket(PgSql\Connection $connection)
pg_result_status(PgSql\Result $result, int $mode=PGSQL_STATUS_LONG)
pg_field_type_oid(PgSql\Result $result, int $field)
pg_connect(string $connection_string, int $flags=0)
pg_escape_string($connection, string $string=UNKNOWN)
const PGSQL_DIAG_CONSTRAINT_NAME
const PGSQL_CONNECT_FORCE_NEW
const PGSQL_CONNECTION_SSL_STARTUP
pg_fieldnum(PgSql\Result $result, string $field)
const PGSQL_POLLING_READING
pg_free_result(PgSql\Result $result)
pg_field_table(PgSql\Result $result, int $field, bool $oid_only=false)
pg_port(?PgSql\Connection $connection=null)
pg_put_copy_data(PgSql\Connection $connection, string $cmd)
pg_version(?PgSql\Connection $connection=null)
pg_client_encoding(?PgSql\Connection $connection=null)
const PGSQL_SEEK_CUR
pg_meta_data(PgSql\Connection $connection, string $table_name, bool $extended=false)
const PGSQL_NOTICE_CLEAR
const PGSQL_DIAG_INTERNAL_POSITION
const PGSQL_NONFATAL_ERROR
const PGSQL_DIAG_MESSAGE_HINT
pg_last_error(?PgSql\Connection $connection=null)
pg_locreate($connection=UNKNOWN, $oid=UNKNOWN)
pg_last_notice(PgSql\Connection $connection, int $mode=PGSQL_NOTICE_LAST)
pg_flush(PgSql\Connection $connection)
pg_num_rows(PgSql\Result $result)
pg_setclientencoding($connection, string $encoding=UNKNOWN)
const PGSQL_DML_NO_CONV
pg_lo_open($connection, $oid=UNKNOWN, string $mode=UNKNOWN)
pg_lo_truncate(PgSql\Lob $lob, int $size)
const PGSQL_LIBPQ_VERSION_STR
const PGSQL_DML_ESCAPE
pg_result_seek(PgSql\Result $result, int $row)
const PGSQL_SHOW_CONTEXT_NEVER
pg_freeresult(PgSql\Result $result)
pg_ping(?PgSql\Connection $connection=null)
pg_put_line($connection, string $query=UNKNOWN)
const PGSQL_CONNECTION_SETENV
const PGSQL_DIAG_CONTEXT
const PGSQL_POLLING_ACTIVE
pg_num_fields(PgSql\Result $result)
pg_escape_bytea($connection, string $string=UNKNOWN)
const PGSQL_DML_STRING
pg_field_num(PgSql\Result $result, string $field)
pg_lounlink($connection, $oid=UNKNOWN)
pg_lo_export($connection, $oid=UNKNOWN, $filename=UNKNOWN)
pg_result_memory_size(PgSql\Result $result)
const PGSQL_CONNECTION_STARTED
pg_fieldisnull(PgSql\Result $result, $row, string|int $field=UNKNOWN)
const PGSQL_DIAG_SQLSTATE
const PGSQL_COMMAND_OK
pg_escape_identifier($connection, string $string=UNKNOWN)
const PGSQL_DML_EXEC
pg_fetch_all(PgSql\Result $result, int $mode=PGSQL_ASSOC)
const PGSQL_DIAG_STATEMENT_POSITION
const PGSQL_DIAG_SEVERITY
pg_fetch_row(PgSql\Result $result, ?int $row=null, int $mode=PGSQL_NUM)
pg_connect_poll(PgSql\Connection $connection)
pg_get_pid(PgSql\Connection $connection)
pg_options(?PgSql\Connection $connection=null)
const PGSQL_BOTH
pg_send_prepare(PgSql\Connection $connection, string $statement_name, string $query)
const PGSQL_CONNECTION_AWAITING_RESPONSE
const PGSQL_TUPLES_OK
pg_loimport($connection, $filename=UNKNOWN, $oid=UNKNOWN)
pg_send_execute(PgSql\Connection $connection, string $statement_name, array $params)
const PGSQL_ERRORS_TERSE
pg_send_query(PgSql\Connection $connection, string $query)
const PGSQL_CONNECTION_OK
const PGSQL_STATUS_LONG
const PGSQL_DIAG_SCHEMA_NAME
pg_query_params($connection, $query, array $params=UNKNOWN)
pg_transaction_status(PgSql\Connection $connection)
pg_cancel_query(PgSql\Connection $connection)
const PGSQL_NOTICE_ALL
pg_consume_input(PgSql\Connection $connection)
pg_lowrite(PgSql\Lob $lob, string $data, ?int $length=null)
const PGSQL_DIAG_INTERNAL_QUERY
pg_tty(?PgSql\Connection $connection=null)
pg_end_copy(?PgSql\Connection $connection=null)
const PGSQL_CONNECTION_BAD
pg_connection_busy(PgSql\Connection $connection)
pg_clientencoding(?PgSql\Connection $connection=null)
pg_loexport($connection, $oid=UNKNOWN, $filename=UNKNOWN)
pg_exec($connection, string $query=UNKNOWN)
const PGSQL_ERRORS_VERBOSE
const PGSQL_CONNECTION_MADE
pg_lo_write(PgSql\Lob $lob, string $data, ?int $length=null)
pg_loreadall(PgSql\Lob $lob)
pg_execute($connection, $statement_name, array $params=UNKNOWN)
const PGSQL_DIAG_SOURCE_LINE
pg_result_error(PgSql\Result $result)
pg_last_oid(PgSql\Result $result)
const PGSQL_POLLING_FAILED
const PGSQL_DIAG_MESSAGE_DETAIL
const PGSQL_CONV_IGNORE_DEFAULT
pg_result_error_field(PgSql\Result $result, int $field_code)
pg_numfields(PgSql\Result $result)
pg_field_is_null(PgSql\Result $result, $row, string|int $field=UNKNOWN)
pg_loclose(PgSql\Lob $lob)
const PGSQL_POLLING_WRITING
pg_fetch_object(PgSql\Result $result, ?int $row=null, string $class="stdClass", array $constructor_args=[])
pg_copy_from(PgSql\Connection $connection, string $table_name, array $rows, string $separator="\t", string $null_as="\\\\N")
const PGSQL_TRACE_SUPPRESS_TIMESTAMPS
pg_fetch_assoc(PgSql\Result $result, ?int $row=null)
pg_affected_rows(PgSql\Result $result)
const PGSQL_NUM
pg_fieldtype(PgSql\Result $result, int $field)
const PGSQL_COPY_IN
pg_dbname(?PgSql\Connection $connection=null)
pg_host(?PgSql\Connection $connection=null)
pg_lo_read(PgSql\Lob $lob, int $length=8192)
const PGSQL_DIAG_COLUMN_NAME
pg_insert(PgSql\Connection $connection, string $table_name, array $values, int $flags=PGSQL_DML_EXEC)
pg_lo_create($connection=UNKNOWN, $oid=UNKNOWN)
const PGSQL_DIAG_MESSAGE_PRIMARY
const PGSQL_DIAG_SOURCE_FUNCTION
pg_get_notify(PgSql\Connection $connection, int $mode=PGSQL_ASSOC)
const PGSQL_DIAG_DATATYPE_NAME
pg_delete(PgSql\Connection $connection, string $table_name, array $conditions, int $flags=PGSQL_DML_EXEC)
pg_numrows(PgSql\Result $result)
const PGSQL_CONNECTION_AUTH_OK
pg_change_password(PgSql\Connection $connection, string $user, #[\SensitiveParameter] string $password)
const PGSQL_LIBPQ_VERSION
pg_send_query_params(PgSql\Connection $connection, string $query, array $params)
const PGSQL_NOTICE_LAST
pg_lo_import($connection, $filename=UNKNOWN, $oid=UNKNOWN)
pg_copy_to(PgSql\Connection $connection, string $table_name, string $separator="\t", string $null_as="\\\\N")
pg_socket_poll($socket, int $read, int $write, int $timeout=-1)
const PGSQL_ERRORS_SQLSTATE
pg_field_size(PgSql\Result $result, int $field)
pg_put_copy_end(PgSql\Connection $connection, ?string $error=null)
pg_loread(PgSql\Lob $lob, int $length=8192)
pg_getlastoid(PgSql\Result $result)
const PGSQL_EMPTY_QUERY
pg_jit(?PgSql\Connection $connection=null)
const PGSQL_DML_ASYNC
const PGSQL_SHOW_CONTEXT_ALWAYS
pg_lo_read_all(PgSql\Lob $lob)
pg_set_chunked_rows_size(PgSql\Connection $connection, int $size)
pg_set_error_context_visibility(PgSql\Connection $connection, int $visibility)
pg_connection_reset(PgSql\Connection $connection)
pg_update(PgSql\Connection $connection, string $table_name, array $values, array $conditions, int $flags=PGSQL_DML_EXEC)
@ PGSQL_TRANSACTION_INTRANS
@ PGSQL_TRANSACTION_UNKNOWN
@ PGSQL_TRANSACTION_IDLE
@ PGSQL_TRANSACTION_ACTIVE
@ PGSQL_TRANSACTION_INERROR
function(EX_VAR(opline->result.var))
object
$params