1<?php
2
3/** @generate-function-entries */
4
5/**
6 * These are extension methods for PDO. This is not a real class.
7 * @undocumentable
8 */
9class PDO_PGSql_Ext {
10    /** @tentative-return-type */
11    public function pgsqlCopyFromArray(string $tableName, array $rows, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): bool {}
12
13    /** @tentative-return-type */
14    public function pgsqlCopyFromFile(string $tableName, string $filename, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): bool {}
15
16    /** @tentative-return-type */
17    public function pgsqlCopyToArray(string $tableName, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): array|false {}
18
19    /** @tentative-return-type */
20    public function pgsqlCopyToFile(string $tableName, string $filename, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): bool {}
21
22    /** @tentative-return-type */
23    public function pgsqlLOBCreate(): string|false {}
24
25    /** @return resource|false */
26    public function pgsqlLOBOpen(string $oid, string $mode = "rb") {}
27
28    /** @tentative-return-type */
29    public function pgsqlLOBUnlink(string $oid): bool {}
30
31    /** @tentative-return-type */
32    public function pgsqlGetNotify(int $fetchMode = PDO::FETCH_DEFAULT, int $timeoutMilliseconds = 0): array|false {}
33
34    /** @tentative-return-type */
35    public function pgsqlGetPid(): int {}
36
37    /* Do NOT add new methods here. See https://wiki.php.net/rfc/pdo_driver_specific_subclasses
38     * Any new feature should be declared only on Pdo\Pgsql.
39     */
40}
41