Skip to content

How to enable debug mode in postgres #3882

@Alansyf

Description

@Alansyf

Environment

Please provide the following details:

  • Platform: Kubernetes
  • Platform Version: v1.26.13
  • PGO Image Tag: ubi8-5.5.1-0
  • Postgres Version 16
  • Storage: hostpath

Hi Team,
This is very generic question, I use the pgbouncer from your example high-avalibility
registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:ubi8-1.21-3
with two replica.

I understand one is master and the other is replica.

I want to know how the traffic will go to my backend postgres cluster, for read requests through the pgbouncer, the requests will send to:
replica pod only.
master pod only.
or round robin?

Thus I would like to enable the debug mode in my postgres, so each request (select statement I can see in log), but i searched around didn't find how can i put under PostgresCluster CRD.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions