| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Bjørn T Johansen <btj(at)havleik(dot)no> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Logging prepared statements in 8.1? |
| Date: | 2005-11-26 18:24:47 |
| Message-ID: | 200511261824.jAQIOlj02260@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Bjrn T Johansen wrote:
> I am upgrading from 7.4 to 8.1 and there seems to have been a change
> in how postgresql log prepared sql statements.. Before I could see the
> actual statements (i.e. after every parameters had been changed with
> real values) but now I see the sql statements before the change (i.e
> with $1, $2 as parameters)..
>
> Is there a way to see the actual statements in 8.1?
Uh, not sure. Perhaps the interface wasn't using real prepared
statements, but now it is. I am not aware we ever output the query with
the parameters in place. 8.1 logs prepared statements while in previous
releases it didn't properly.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Keary Suska | 2005-11-26 19:09:04 | Re: Postgres as embedded db for GUI |
| Previous Message | Gregory Youngblood | 2005-11-26 18:24:02 | Re: Resend: Question about PostgreSQL, pgpool, and |