main vs primary

From: Luca Ferrari <fluca1978(at)gmail(dot)com>
To: pgpool-general(at)lists(dot)postgresql(dot)org
Subject: main vs primary
Date: 2025-07-29 10:32:17
Message-ID: CAKoxK+7ZbtVu6WEPtLze+HciX6S8aiRNhqQwD3R=CdwHdYQTRQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgpool-general

Hi all,
sorry for the trivial question, but I cannot find this in
documentation, so please indicate me where I can find (in case I
missed).
What is the difference between main and primary nodes?

For example, in my logs I've:

LOG: failover: 2 follow backends have been degenerated
LOG: failover: set new primary node: 1
LOG: failover: set new main node: 2

in my scenario, the third host (so number 2) has been promoted. So
what is the "primary" node 1 doing?

Thanks,
Luca

Responses

Browse pgpool-general by date

  From Date Subject
Next Message Bo Peng 2025-07-30 10:03:41 Re: main vs primary
Previous Message 鈴木 涼 2025-07-29 08:58:41 Re: Sudden increase in connections in pgpool usage environment