Re: query execution

From: "codeWarrior" <gpatnude(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: query execution
Date: 2005-10-05 15:30:49
Message-ID: di0rj5$71e$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

in your postgresql.conf file near the bottom you need to enable statement
logging -- set log_statement = 'all'
and then you can

tail -f /var/logs/postgresql/postgresql.log

or tail -f wherever your postgres log is...

from the 'Nix command line

"Matthew Peter" <survivedsushi(at)yahoo(dot)com> wrote in message
news:20051005074002(dot)27199(dot)qmail(at)web35203(dot)mail(dot)mud(dot)yahoo(dot)com(dot)(dot)(dot)
> There a way to watch queries execute on the pgsql
> server as queries come in from the network and are
> processed?
>
> Thanks
> MP
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stefan 'Kaishakunin' Schumacher 2005-10-05 15:32:23 Re: Securing Postgres
Previous Message L van der Walt 2005-10-05 15:27:22 Re: Securing Postgres