Re: backward SQL query

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: Jan Oravec <oravecja(at)intrak(dot)tuke(dot)sk>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: backward SQL query
Date: 2002-02-28 11:55:02
Message-ID: 20020228125502.B20893@zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)zf(dot)jcu(dot)cz>
http://home.zf.jcu.cz/~zakkr/

C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message TimothyReaves 2002-02-28 13:45:25 Re: How slow is DISTINCT?
Previous Message Jan Oravec 2002-02-28 11:34:23 backward SQL query