Qsn on Setting replication using " set session_replication_role = "

Bharani SV-forum <esteembsv-forum@yahoo.com>

From: Bharani SV-forum <esteembsv-forum@yahoo.com>
To: "FN_pgsql-general@postgresql.org LN_pgsql-general@postgresql.org" <pgsql-general@postgresql.org>
Date: 2024-12-04T12:20:02Z
Lists: pgsql-general
  
 TeamNeed help on clarification on using" set 
session_replication_role "

Assume i am loggging intopsql and issue\o output.lstset session_replication_role=defaultupdate ....coming out of \psql command and verifying log fileand assume i come out of the psql session without doing set session_replication_role=replica.
what will be the impact.How to find out if the session replicat role is in Replica stage or local ?