Topic: pgsql.php

File: pgsql.php
Function: insert_id()
if (preg_match('/^INSERT INTO ([a-z0-9\_\-]+)/is', $this->last_query_text[$query_id], $table_name))

Necessary to write:
if (preg_match('/^INSERT INTO ([a-z0-9\_\-\.]+)/is', $this->last_query_text[$query_id], $table_name))

Because the line consists of two parts - [schema name.]<table name>
When $db_prefix contains a name of the scheme, it is necessary to add \.

Re: pgsql.php

db_prefix should be a prefix for the table name, not a scheme name wink