Re: [HACKERS] [PATCHES] log_statement output for protocol

From: "Guillaume Smet" <guillaume(dot)smet(at)gmail(dot)com>
To: "Bruce Momjian" <bruce(at)momjian(dot)us>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Oliver Jowett" <oliver(at)opencloud(dot)com>, "Dave Cramer" <pg(at)fastcrypt(dot)com>, "Csaba Nagy" <nagy(at)ecircle-ag(dot)com>, "Postgres JDBC" <pgsql-jdbc(at)postgresql(dot)org>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] [PATCHES] log_statement output for protocol
Date: 2006-08-29 11:54:15
Message-ID: 1d4e0c10608290454r49ad4efel63f2c4062c13438f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc pgsql-patches

On 8/29/06, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> DETAIL: prepare: SELECT $1; bind: $1 = 'a''b'

I attached a trivial patch to add a dash between the prepare part and
the bind part. People usually don't finish their queries with a semi
colon so it's more readable with a separator.
DETAIL: prepare: SELECT $1 bind: $1 = 'a''b'
becomes
DETAIL: prepare: SELECT $1 - bind: $1 = 'a''b'

--
Guillaume

Attachment Content-Type Size
prepare_bind_separator.diff text/plain 1.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jaime Casanova 2006-08-29 12:17:42 Re: insert/update/delete returning and rules
Previous Message Peter Eisentraut 2006-08-29 11:37:48 pgsql: Revert change to turn autovacuum on by default.

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2006-08-29 12:05:26 Re: outOfMemoryError
Previous Message Guillaume Smet 2006-08-29 11:22:58 Re: [HACKERS] [PATCHES] log_statement output for protocol

Browse pgsql-patches by date

  From Date Subject
Next Message Michael Meskes 2006-08-29 12:26:22 Re: [PATCHES] Another VPATH patch for ecpg
Previous Message Guillaume Smet 2006-08-29 11:22:58 Re: [HACKERS] [PATCHES] log_statement output for protocol