Re: maintaining a reference to a fetched row - Mailing list pgsql-performance

From Tom Lane
Subject Re: maintaining a reference to a fetched row
Date
Msg-id 8800.1257312686@sss.pgh.pa.us
Whole thread Raw
In response to maintaining a reference to a fetched row  (Brian Karlak <zenkat@metaweb.com>)
Responses Re: maintaining a reference to a fetched row  (Brian Karlak <zenkat@metaweb.com>)
List pgsql-performance
Brian Karlak <zenkat@metaweb.com> writes:
> My question is this: is there some way that I can keep a cursor /
> pointer / reference / whatever to the row I fetched originally, so
> that I don't have to search for it again when I'm ready to write
> results?

If you don't expect any updates to the row meanwhile, ctid might serve.

            regards, tom lane

pgsql-performance by date:

Previous
From: David Saracini
Date:
Subject: Re: High Frequency Inserts to Postgres Database vs Writing to a File
Next
From: Ivan Voras
Date:
Subject: Re: Free memory usage Sol10, 8.2.9