Re: Prepared statement already exists

From: Richard Huxton <dev(at)archonet(dot)com>
To: WireSpot <wirespot(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Prepared statement already exists
Date: 2008-12-08 12:21:39
Message-ID: 493D1153.2050304@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Glyn Astill 2008-12-08 13:14:15 Re: Planner picking topsey turvey plan?
Previous Message Richard Huxton 2008-12-08 12:16:24 Re: is there any error for my postgresql installation?