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    /** @return bool */
8    public function pgsqlCopyFromArray(string $tableName, array $rows, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null) {}
9
10    /** @return bool */
11    public function pgsqlCopyFromFile(string $tableName, string $filename, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null) {}
12
13    /** @return array|false */
14    public function pgsqlCopyToArray(string $tableName, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null) {}
15
16    /** @return bool */
17    public function pgsqlCopyToFile(string $tableName, string $filename, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null) {}
18
19    /** @return string|false */
20    public function pgsqlLOBCreate() {}
21
22    /** @return resource|false */
23    public function pgsqlLOBOpen(string $oid, string $mode = "rb") {}
24
25    /** @return bool */
26    public function pgsqlLOBUnlink(string $oid) {}
27
28    /** @return array|false */
29    public function pgsqlGetNotify(int $fetchMode = PDO::FETCH_USE_DEFAULT, int $timeoutMilliseconds = 0) {}
30
31    /** @return int */
32    public function pgsqlGetPid() {}
33}
34