Re: Prepared statement already exists - Mailing list pgsql-general

From Richard Huxton
Subject Re: Prepared statement already exists
Date
Msg-id 493D1153.2050304@archonet.com
Whole thread Raw
In response to Re: Prepared statement already exists  (WireSpot <wirespot@gmail.com>)
Responses Re: Prepared statement already exists
List pgsql-general
WireSpot wrote:
> This mechanism is still not perfect. Technically it is still possible
> for race conditions to appear. Apparently (in PHP at least) pg_connect
> does persistent connections by default.

Nope - pg_pconnect() does that. Multiple calls to pg_connect() within
the same script will give the same connection though.

--
  Richard Huxton
  Archonet Ltd

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: is there any error for my postgresql installation?
Next
From: Glyn Astill
Date:
Subject: Re: Planner picking topsey turvey plan?