GetSchemaNames fails

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for PostgreSQL in Delphi and C++Builder
Post Reply
arkangles
Posts: 3
Joined: Sun 26 Apr 2009 12:02

GetSchemaNames fails

Post by arkangles » Sun 24 May 2009 07:44

The GetSchemaNames method on TSQLConnection is actually returning a list of roles, not a list of schema names. I'm running Delphi 2009 and PostgreSQL 8.3. Is this a bug in the dbExpress driver?

--Rob.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Fri 12 Jun 2009 08:55

This is not a bug in the driver.
This is a bug in the TSQLConnection component. Its GetSchemaNames method queries the list of user names from the driver metadata. This method works only with DBMS where user names are the same as schema names.

Post Reply