<span style=" font-size:10pt;font-family:sans-serif">Hello,</span>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">in my setup I
use two servers. Each one runs a PostgreSQL 12.7 and a pgpool-II 4.2.3
instance. Databases use streaming replication.</span>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">The pcp_node_info
shows different results on leader and standby. On the server with leader
role I get the expected result:</span>
<br><span style=" font-size:10pt;font-family:sans-serif"><br>
        node 0:        Status:
2        Status Name: up      
 Role: primary          
     Replication State:</span>
<br><span style=" font-size:10pt;font-family:sans-serif">   
    node 1:        Status:
2        Status Name: up      
 Role: standby        Replication
State: streaming</span>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">On the server
which runs pgpool-II as standby I get:</span>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">   
    node 0:        Status:
1        Status Name: waiting    
   Role: primary        
       Replication State:</span>
<br><span style=" font-size:10pt;font-family:sans-serif">   
    node 1:        Status:
1        Status Name: waiting    
   Role: standby        Replication
State: streaming</span>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">I expected to
get the same results on each server. Is something going wrong or haven't
I read the documentation too fast?</span>
<br><span style=" font-size:10pt;font-family:sans-serif"><br>
Best regards</span>
<br><span style=" font-size:10pt;font-family:sans-serif"><br>
Ernst Hansmair<br>
 ________________________________________________________<br>
<br>
Prompt Software Systems GmbH<br>
Firmensitz: Salzburger Strasse 19, 83512 Wasserburg<br>
 </span>
<br><span style=" font-size:10pt;font-family:sans-serif">Geschäftsführer:
<br>
Dipl. Bankbetriebswirt (BA) Uwe Größl,<br>
Ernst Hansmair,<br>
Dipl. Inform. Gerhard Hansmair,<br>
Dipl. Inform. Dr. Peter Knirsch<br>
Handelsregisterblatt Traunstein 5701<br>
</span>