Page 1 of 1

[PostgreSQL] SpecificOptions are lost

Posted: Sun 11 Jan 2009 01:12
by Thomas J.
Hello,

if I do a reconact the data of SpecificOptions is lost. Is this correct?

I have login and if the user change the server or the port or what ever I do the following

Code: Select all

	UniConn->Connected = false;
	UniConn->Server = GetServer();
	UniConn->Port = GetPort();
	UniConn->Connected = true;

	DsUser->DataSet->Active = false;
	DsUser->DataSet->Active = true;
The first time is correct, but during the second time, running these steps above, error comes "Relation t_user doesn't exists".
The first time everthing ok the second not?
So I the following before the Connected=true

Code: Select all

	UniConn->SpecificOptions->Add("Schema=p_myshema");
and everything was ok.

Thanks for your help
Thomas

Posted: Mon 12 Jan 2009 10:45
by Plash
We have fixed the bug with the Schema option. The fix will be included in the next build of UniDAC.