Re: pg_get_prepared?

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Greg Sabino Mullane <greg(at)turnstep(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_get_prepared?
Date: 2005-07-16 05:52:04
Message-ID: 42D8A084.1030700@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> This has been covered before, but to reiterate: why would you need this?
> Any application worth its salt should be tracking which statements it
> has already prepared (after all, they cannot span connections). Seems
> a waste of resources to make a separate call to the database for
> information you should already know.

Erm, websites...use persistent connections...you have no idea if you're
dealing with a new connection or a reused one, and if the statement is
prepared or not.

Chris

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Brown 2005-07-16 06:38:01 Re: Checkpoint cost, looks like it is WAL/CRC
Previous Message Kris Jurka 2005-07-16 01:06:15 Re: 4 pgcrypto regressions failures - 1 unsolved