Re: Can i see server SQL commands ?

From: tomas(at)tuxteam(dot)de
To: Adnan DURSUN <a_dursun(at)hotmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Can i see server SQL commands ?
Date: 2006-09-28 07:05:22
Message-ID: 20060928070522.GA31054@www.trapp.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Sep 28, 2006 at 04:27:36AM +0300, Adnan DURSUN wrote:
>
> Hi all
>
> I wanna know what is going on while a DML command works. For example
> ;
> Which commands are executed by the core when we send an "UPDATE tab
> SET col = val1..."

Adnan,

this mailing list is not the right one for such questions. More
appropriate would be <pgsql-novice(at)postgresql(dot)org> or maybe
<pgsql-general(at)postgresql(dot)org>.

Having said that, you may set the log level of the server in the
configuration file (whose location depends on your OS and PostgreSQL
version. Look there for a line log_statements = XXX and set XXX to
'all'. Don't forget to restart your server afterwards.

HTH
- -- tomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFG3QyBcgs9XrR2kYRAgdqAJ0VnUw5+Q79HiIwHocHIw4TWHePaQCffBBK
ASn3Z6XpKG91NTrmEaBtz08=
=Ibh3
-----END PGP SIGNATURE-----

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Csaba Nagy 2006-09-28 09:17:17 Re: [OT]DROP FUNCTION IF EXISTS
Previous Message Albe Laurenz 2006-09-28 06:18:33 Re: Transaction is read-only in auto commit mode

Browse pgsql-patches by date

  From Date Subject
Next Message Heikki Linnakangas 2006-09-28 10:37:04 Phantom Command IDs
Previous Message Adnan DURSUN 2006-09-28 01:27:36 Can i see server SQL commands ?