File: pdo_pgsql.stub.php

package info (click to toggle)
php8.4 8.4.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 208,108 kB
  • sloc: ansic: 1,060,628; php: 35,345; sh: 11,866; cpp: 7,201; pascal: 4,913; javascript: 3,091; asm: 2,810; yacc: 2,411; makefile: 689; xml: 446; python: 301; awk: 148
file content (61 lines) | stat: -rw-r--r-- 2,064 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?php

/** @generate-class-entries */

namespace Pdo;

/**
 * @strict-properties
 * @not-serializable
 */
class Pgsql extends \PDO
{
    /** @cvalue PDO_PGSQL_ATTR_DISABLE_PREPARES */
    public const int ATTR_DISABLE_PREPARES = UNKNOWN;

#ifdef HAVE_PG_RESULT_MEMORY_SIZE
    /** @cvalue PDO_PGSQL_ATTR_RESULT_MEMORY_SIZE */
    public const int ATTR_RESULT_MEMORY_SIZE = UNKNOWN;
#endif

    /** @cvalue PGSQL_TRANSACTION_IDLE */
    public const int TRANSACTION_IDLE = UNKNOWN;

    /** @cvalue PGSQL_TRANSACTION_ACTIVE */
    public const int TRANSACTION_ACTIVE = UNKNOWN;

    /** @cvalue PGSQL_TRANSACTION_INTRANS */
    public const int TRANSACTION_INTRANS = UNKNOWN;

    /**  @cvalue PGSQL_TRANSACTION_INERROR */
    public const int TRANSACTION_INERROR = UNKNOWN;

    /** @cvalue PGSQL_TRANSACTION_UNKNOWN */
    public const int TRANSACTION_UNKNOWN = UNKNOWN;

    public function escapeIdentifier(string $input): string {}

    public function copyFromArray(string $tableName, array $rows, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): bool {}

    public function copyFromFile(string $tableName, string $filename, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): bool {}

    public function copyToArray(string $tableName, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): array|false {}

    public function copyToFile(string $tableName, string $filename, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): bool {}

    public function lobCreate(): string|false {}

    /**
     * Opens an existing large object stream. Must be called inside a transaction.
     * @return resource|false
     */
    public function lobOpen(string $oid, string $mode = "rb") {}

    public function lobUnlink(string $oid): bool {}

    public function getNotify(int $fetchMode = \PDO::FETCH_DEFAULT, int $timeoutMilliseconds = 0): array|false {}

    public function getPid(): int {}

    public function setNoticeCallback(?callable $callback): void {}
}