1<?php
2
3/** @generate-function-entries */
4
5// These are extension methods for PDO. This is not a real class.
6class PDO_PGSql_Ext {
7    /** @tentative-return-type */
8    public function pgsqlCopyFromArray(string $tableName, array $rows, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): bool {}
9
10    /** @tentative-return-type */
11    public function pgsqlCopyFromFile(string $tableName, string $filename, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): bool {}
12
13    /** @tentative-return-type */
14    public function pgsqlCopyToArray(string $tableName, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): array|false {}
15
16    /** @tentative-return-type */
17    public function pgsqlCopyToFile(string $tableName, string $filename, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): bool {}
18
19    /** @tentative-return-type */
20    public function pgsqlLOBCreate(): string|false {}
21
22    /** @return resource|false */
23    public function pgsqlLOBOpen(string $oid, string $mode = "rb") {}
24
25    /** @tentative-return-type */
26    public function pgsqlLOBUnlink(string $oid): bool {}
27
28    /** @tentative-return-type */
29    public function pgsqlGetNotify(int $fetchMode = PDO::FETCH_USE_DEFAULT, int $timeoutMilliseconds = 0): array|false {}
30
31    /** @tentative-return-type */
32    public function pgsqlGetPid(): int {}
33}
34