Skip to content

Undocumented PDO_PGSQL constants #1393

Open
@AndrolGenhald

Description

@AndrolGenhald

The documentation doesn't mention these (obtained through reflection):

    public const PGSQL_TRANSACTION_IDLE = 0;
    public const PGSQL_TRANSACTION_ACTIVE = 1;
    public const PGSQL_TRANSACTION_INTRANS = 2;
    public const PGSQL_TRANSACTION_INERROR = 3;
    public const PGSQL_TRANSACTION_UNKNOWN = 4;

I also noticed that using reflection with the PDO class with the PGSQL driver installed doesn't list the methods documented on that page. I assume this has something to do with the way the extension modifies an already existing class, is it worth opening a php-src issue or is this expected behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Extension: pdoAll PDO related doc issuesbugDocumentation contains incorrect information

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions