Thread: psql -E is not working in 7.4.2 like 7.3.4

psql -E is not working in 7.4.2 like 7.3.4

From
"Durai"
Date:
Hello All,

I built the latest postgresql 7.4.2 in HPUX PA.

The command "psql -E <databasename>", is not give give the output like in
7.3.4.

In Postgresql 7.3.4, it gives the following output:

$ echo "select * from db5;" | psql -E test
********* QUERY **********
BEGIN; SELECT usesuper FROM pg_catalog.pg_user WHERE usename = 'postgres';
COMMIT
**************************

    name    | age
------------+-----
 James      |  25
(1 row)

But in Postgresql 7.4.2,

$ echo "select * from db5;" | psql -E test
    name    | age
------------+-----
 James      |  25
(1 row)

Why it gives diffferent output from previous version?

Regs,
Raj.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.687 / Virus Database: 448 - Release Date: 5/16/2004