Re: psql --echo-queries does not echo all queries - Mailing list pgsql-bugs

From Tom Lane
Subject Re: psql --echo-queries does not echo all queries
Date
Msg-id 1971001.1761402761@sss.pgh.pa.us
Whole thread Raw
In response to psql --echo-queries does not echo all queries  (Gavin Wahl <gavinwahl@gmail.com>)
List pgsql-bugs
Gavin Wahl <gavinwahl@gmail.com> writes:
> The -e/--echo-queries psql option is documented to "Copy all SQL
> commands sent to the server to standard output as well." However, it
> does not show queries sent to the server by -1/--single-transaction or
> by ON_ERROR_ROLLBACK.

Did you try

  -E, --echo-hidden        display queries that internal commands generate

?

            regards, tom lane



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #19094: select statement on postgres 17 vs postgres 18 is returning different/duplicate results
Next
From: David Rowley
Date:
Subject: Re: Segfault in RI UPDATE CASCADE on partitioned tables with LIKE+ATTACH child (attnum drift)