Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-jdbcpgsql-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: prepare_bind_separator.diff
Description: text/plain (1.4 KB)

In response to

Responses

pgsql-hackers by date

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

pgsql-patches by date

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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group