pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brian Karlak <zenkat@metaweb.com>
To: Craig Ringer <craig@postnewspapers.com.au>
Cc: pgsql-performance@postgresql.org
Subject: Re: maintaining a reference to a fetched row
Date: Tue, 3 Nov 2009 16:12:44 -0800
Message-ID: <B531CFC7-0DF2-46DF-B9F2-C6AC97816933@metaweb.com> (raw)
In-Reply-To: <4AF0C4E4.2080902@postnewspapers.com.au>
References: <22AC581D-50D1-4863-9FDE-35EDDB171269@metaweb.com>
	<4AF0C4E4.2080902@postnewspapers.com.au>


On Nov 3, 2009, at 4:03 PM, Craig Ringer wrote:

> I don't have a good answer for you there. Perhaps using Pg's locking  
> to
> do your queueing, rather than updating a status flag, might let you  
> use
> a cursor? Have a look at the list archives - there's been a fair bit  
> of
> discussion of queuing mechanisms.

This is an interesting idea.  I'll see what I can find in the  
archives.  It will likely take a bit of refactoring, but such is  
life ...

Thanks!
Brian



view thread (10+ messages)  latest in thread

Message-ID: <B531CFC7-0DF2-46DF-B9F2-C6AC97816933@metaweb.com>
Permalink:  ../B531CFC7-0DF2-46DF-B9F2-C6AC97816933@metaweb.com/
Also on:    postgresql.org/message-id/B531CFC7-0DF2-46DF-B9F2-C6AC97816933@metaweb.com

 · 

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-performance@postgresql.org
  Cc: zenkat@metaweb.com, craig@postnewspapers.com.au
  Subject: Re: maintaining a reference to a fetched row
  In-Reply-To: <B531CFC7-0DF2-46DF-B9F2-C6AC97816933@metaweb.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox