Commit 62e182f2 authored by alexpott's avatar alexpott

Issue #2477251 by amateescu: PostgreSQL: Fix Connection::getFullQualifiedTableName()

parent e39a3284
...@@ -292,6 +292,19 @@ public function nextId($existing = 0) { ...@@ -292,6 +292,19 @@ public function nextId($existing = 0) {
return $id; return $id;
} }
/**
* {@inheritdoc}
*/
public function getFullQualifiedTableName($table) {
$options = $this->getConnectionOptions();
$prefix = $this->tablePrefix($table);
// The fully qualified table name in PostgreSQL is in the form of
// <database>.<schema>.<table>, so we have to include the 'public' schema in
// the return value.
return $options['database'] . '.public.' . $prefix . $table;
}
/** /**
* Add a new savepoint with an unique name. * Add a new savepoint with an unique name.
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment