wxdev - postgres - schema

In this forum you can discuss database related issues which can be wxWidgets related, but also generic in nature.
Post Reply
rosswg
Earned a small fee
Earned a small fee
Posts: 12
Joined: Tue Oct 30, 2007 11:05 am

wxdev - postgres - schema

Post by rosswg » Tue Jun 16, 2009 4:49 pm

Have connected to a postgres database.
The data base has more than one schema.
If I use db->TableExists("Table name","user-id/schema), the
table is found to be present.

When opening table table->Open() it returns NULL, that is the table is not found.
It would seem that cause of this is because there is no place to 'set' the schema/userid.
How does one get around this, or where can the 'default' schema be set, please.

Post Reply