agora inbox for pgsql-interfaces@postgresql.org
help / color / mirror / Atom feedFrom: Alvaro Herrera <alvherre@commandprompt.com>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: Andrew Chernow <ac@esilo.com>
Cc: Pavel Golub <pavel@gf.microolap.com>
Cc: Pavel Golub <pavel@microolap.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: pgsql-interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: [HACKERS] PQdeleteTuple function in libpq
Date: Thu, 02 Jun 2011 11:57:23 -0400
Message-ID: <1307030194-sup-4091@alvh.no-ip.org> (raw)
In-Reply-To: <BANLkTinOKYn2rS+LvCvLfOjeKuvKQS4PiA@mail.gmail.com>
References: <147534417.20110601184310@gf.microolap.com>
<4DE6A5B7.2070700@esilo.com>
<707574086.20110602112826@gf.microolap.com>
<4DE79A58.4010608@esilo.com>
<1307026778-sup-415@alvh.no-ip.org>
<BANLkTinOKYn2rS+LvCvLfOjeKuvKQS4PiA@mail.gmail.com>
Excerpts from Merlin Moncure's message of jue jun 02 11:33:28 -0400 2011:
> On Thu, Jun 2, 2011 at 10:02 AM, Alvaro Herrera
> <alvherre@commandprompt.com> wrote:
> > Seems pretty wasteful if you want to delete a single tuple from a large
> > result. I think if you desired to compact the result to free some
> > memory after deleting a large fraction of the tuples in the result it
> > could be useful to do that, otherwise just live with the unused holes in
> > the storage area as suggested by Pavel.
>
> That would work, but it would potentially invalidate external pointers
> to internal result data. If you wanted to do this, it might be better
> to expose a compaction feature which can be invoked directly.
Wouldn't that also invalidate external pointers?
--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
view thread (17+ messages) latest in thread
Message-ID: <1307030194-sup-4091@alvh.no-ip.org>
Permalink: ../1307030194-sup-4091@alvh.no-ip.org/
Also on: postgresql.org/message-id/1307030194-sup-4091@alvh.no-ip.org
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: alvherre@commandprompt.com, mmoncure@gmail.com, ac@esilo.com, pavel@gf.microolap.com, pavel@microolap.com, pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] PQdeleteTuple function in libpq
In-Reply-To: <1307030194-sup-4091@alvh.no-ip.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox