Tue Jan 31 15:56:22 PST 2006
- Previous message: [Slony1-general] Check for "which node is current master?"
- Next message: [Slony1-general] Permissions on slony schema
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ujwal S. Setlur wrote: >Hi, > >My application needs to figure out which node is >currently the master, i.e. writable. Is there an easy >check for that? My app's interface to the db is C >through libpq. > > Nodes are just nodes; they have no inherent "master" or "slave" role. You can check to see which node is the origin for a given replication set; that would involve looking in _clusterschema.sl_set where set_id = some set you care about.
- Previous message: [Slony1-general] Check for "which node is current master?"
- Next message: [Slony1-general] Permissions on slony schema
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list