Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » Multi servers and PostgreSQL
Re: Multi servers and PostgreSQL [message #7271 is a reply to message #7266] Mon, 11 February 2019 04:45 Go to previous message
AJM is currently offline  AJM
Messages: 2347
Registered: April 2006
Location: Surrey, UK
Senior Member
The amended code which you sent me actually contains a bug. The first argument in the _loadDatabases() method you changed from $dbhost to $server, yet the first line of the method is still referring to $dbhost. As it has not been defined the first condition always fails.

When using the multi-server option you *MUST* supply a value for PGSQL_dbname in each entry of the $servers array.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: $lock_str FOR UPDATE FOR $tablename with PostgreSQL
Next Topic: convert_parent_id_to_child_id
Goto Forum:
  


Current Time: Sun Apr 28 09:14:16 EDT 2024

Total time taken to generate the page: 0.00969 seconds