PostgreSQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesPostgreSQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 14th, 2002, 01:16 PM
Morph Morph is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Posts: 1 Morph User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
postgres is too verbose!

HI,

I have postgres running as user postgres:

postmaster -i -D /var/lib/pgsql/data &

but when I go into my database, say 'addresses' and view the table I get all sorts extra spurious verbose studd that I would prefer not to see.

promtp]psql addresses
020314.17:59:13.391 [1551] read_pg_options: verbose=2,query=2,syslog=0
020314.17:59:13.392 [1551] started: host=localhost user=postgres database=addresses
020314.17:59:13.392 [1551] InitPostgres
020314.17:59:13.396 [1551] reset_client_encoding()..
020314.17:59:13.396 [1551] reset_client_encoding() done.
020314.17:59:13.397 [1551] StartTransactionCommand
020314.17:59:13.397 [1551] query: select getdatabaseencoding()
020314.17:59:13.398 [1551] ProcessQuery
020314.17:59:13.398 [1551] CommitTransactionCommand
020314.17:59:13.399 [1551] StartTransactionCommand
020314.17:59:13.399 [1551] query: SELECT usesuper FROM pg_user WHERE usename = 'postgres'
020314.17:59:13.402 [1551] ProcessQuery
020314.17:59:13.402 [1551] CommitTransactionCommand
Welcome to psql, the PostgreSQL interactive terminal.

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help on internal slash commands
\g or terminate with semicolon to execute query
\q to quit

addresses=#


....so all this stuff is superfluous to the proceedings. ANy way I can get rid of this?

ALso when I do SELECT * FROM table I get:

020314.18:00:55.982 [1551] StartTransactionCommand
020314.18:00:55.982 [1551] query: SELECT * FROM names;
020314.18:00:55.983 [1551] ProcessQuery
020314.18:00:55.984 [1551] CommitTransactionCommand
userid | first | surname | email
---------+--------+---------------+-------------
jd1234 | jon | doe | jon.doe

Reply With Quote
  #2  
Old March 18th, 2002, 10:32 PM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,300 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 3 h 12 m 27 sec
Reputation Power: 56
Open your postgresql.conf configuration file (probably /var/lib/pgsql/data/postgresql.conf). Look for the area called "Debug display", and see what your debug level is. Default setting is 0, which just gives you a standard terminal client in psql, and only displays fatal errors. If the setting is higher, try changing it to 0 and restarting postmaster.
__________________
The real n-tier system:

FreeBSD -> PostgreSQL -> [any_language] -> Apache -> Mozilla/XUL

Amazon wishlist -- rycamor (at) gmail.com

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesPostgreSQL Help > postgres is too verbose!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT