473,395 Members | 1,411 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

psql -E option is not working in 7.4.2 like 7.3.4


Hello All,

I built the latest postgresql 7.4.2 in HPUX PA.

The command "psql -E <databasename>", is not 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.


__________________________________________________ __________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 23 '05 #1
1 1393
=?iso-8859-1?q?Durai=20raj?= <ma******@yahoo.co.uk> writes:
The command "psql -E <databasename>", is not give the
output like in 7.3.4.


-E shows the queries internally generated by psql. The fact that these
change from version to version should not surprise you.

In this particular case, psql now has another mechanism to find out
whether you are superuser, and so it doesn't need to issue a query.
(This was part of a general effort to reduce connection startup
overhead.)

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Howard Lowndes | last post by:
I'm working psql v7.2.2 to postmaster v7.2.2 and want to use the \lo_import function. The psql manual says that the syntax is \lo_import '<filename>' 'comment' This loads the blob OK and...
1
by: Andrew M. Olson | last post by:
Hi, I am trying to access PostgreSQL remotely with psql, and I am having some trouble. I am running the server with the -i option to allow Tcp-sockets and the pg_hba.conf is configed to let my...
6
by: Ben | last post by:
I'm designing a fairly involved database system. As part fo the process, I use the \i command a great deal. I set up fairly involved queries, sometimes simply for the purpose of shortening column...
0
by: Durai | last post by:
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...
4
by: David Garamond | last post by:
Can psql be told to exit immediately after an error (especially when doing commands from a file, -f)? This is the default behaviour of the mysql client, except when we give it -f option ("force")....
2
by: John DeSoi | last post by:
I'm looking for a way to build psql on OS X so that it can be copied to another computer without any external dependencies. In particular, if I build the standard distribution and then copy psql to...
2
by: Ron St-Pierre | last post by:
I'm having a problem suppressing output from some of my cron scripts and java code. One file of sql scripts (eod-misc.sql) is called by a shell script (update.sh). Within eod-misc, various sql...
2
by: Russ Brown | last post by:
Hello, Today I tried connecting to my database locally via psql. I got the usual welcome & basic help messages, but it never got to the prompt: it just hung. So I checked top and the psql...
3
by: oksofar | last post by:
Hello - I'm running PG 8.1 on Windows XP. I've installed the server to run as a service. The psql command fails to connect to the server, although I can connect with other clients. When I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.