Re: what is BIND in OS log for Postgresql

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: AI Rumman <rummandba(at)gmail(dot)com>, pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: what is BIND in OS log for Postgresql
Date: 2013-10-15 00:03:29
Message-ID: 525C8651.2050207@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/14/2013 03:22 PM, AI Rumman wrote:
> Hi,
>
> I got in my OS log using ps command as follows:
>
> postgres 17087 2770 0 Sep30 ? 00:07:49 postgres: myapp appname
> 10.0.0.1(35607) BIND
> postgres 32545 2770 1 Oct01 ? 00:19:09 postgres: myapp appname
> 10.0.0.1(35783) SELECT
> postgres 32546 2770 1 Oct01 ? 00:15:25 postgres: myapp appname
> 10.0.0.1(35787) SELECT
>
> Could you please let me know why I got this BIND?

Are you using prepared statements or using some connection software that is?

http://www.postgresql.org/docs/9.3/static/protocol-flow.html

Once a prepared statement exists, it can be readied for execution using
a Bind message. The Bind message gives the name of the source prepared
statement (empty string denotes the unnamed prepared statement), the
name of the destination portal (empty string denotes the unnamed
portal), and the values to use for any parameter placeholders present in
the prepared statement. The supplied parameter set must match those
needed by the prepared statement. (If you declared any void parameters
in the Parse message, pass NULL values for them in the Bind message.)
Bind also specifies the format to use for any data returned by the
query; the format can be specified overall, or per-column. The response
is either BindComplete or ErrorResponse.

>
> Thanks.
>

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Kevin Grittner 2013-10-15 00:29:07 Re: Postgresql 9.0.13 core dump
Previous Message AI Rumman 2013-10-14 22:22:33 what is BIND in OS log for Postgresql