Skip to content

Bug: PosgreSQL server version #7484

Closed
@marekmosna

Description

@marekmosna

PHP Version

8.0

CodeIgniter4 Version

v4.3.4

CodeIgniter4 Installation Method

Composer (using codeigniter4/appstarter)

Which operating systems have you tested for this bug?

Linux

Which server did you use?

cli

Database

PostgreSQL 13.10

What happened?

$db->getVersion(); returns false

Steps to Reproduce

$db = db_connect();
echo $db->getVersion();

Expected Output

13.10 (Debian 13.10-0+deb11u1)

Anything else?

I can make a pull request to fix it. Please specify if you want to store and return entire $pgVersion['server'] or just version accorsing to version semantic

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified issues on the current code behavior or pull requests that will fix themdatabaseIssues or pull requests that affect the database layer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions