pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Karel Zak <zakkr@zf.jcu.cz>
To: Jan Oravec <oravecja@intrak.tuke.sk>
Cc: pgsql-sql@postgresql.org
Subject: Re: backward SQL query
Date: Thu, 28 Feb 2002 12:55:02 +0100
Message-ID: <20020228125502.B20893@zf.jcu.cz> (raw)
In-Reply-To: <3C7E15BF.000003.01684@elvin.intrak.tuke.sk>
References: <3C7E15BF.000003.01684@elvin.intrak.tuke.sk>

On Thu, Feb 28, 2002 at 12:34:23PM +0100, Jan Oravec wrote:
> 
> I have WEB aplication, whitch browse some data from database. 
> Can anybody tell me how I can know, which SQL query was used for display
> this data, without know source of aplication, whitch use it and when I'm
> administrator of this database. I want it use for control which data are
> correct and whitch not.


 See your $(PGDATA)/potgresql.conf and debug_* options, an example
 debug_print_query.

 Or may be you can try postmaster "-d" option.

 More information:
 http://docs.linux.cz/PostgreSQL/runtime-config.html#LOGGING

        Karel
-- 
 Karel Zak  <zakkr@zf.jcu.cz>
 http://home.zf.jcu.cz/~zakkr/
 
 C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz



view thread (3+ messages)  latest in thread

Message-ID: <20020228125502.B20893@zf.jcu.cz>
Permalink:  ../20020228125502.B20893@zf.jcu.cz/
Also on:    postgresql.org/message-id/20020228125502.B20893@zf.jcu.cz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: zakkr@zf.jcu.cz, oravecja@intrak.tuke.sk
  Subject: Re: backward SQL query
  In-Reply-To: <20020228125502.B20893@zf.jcu.cz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox