Stepping through a table.

From: Matthew Hagerty <matthew(at)venux(dot)net>
To: pgsql-sql(at)postgreSQL(dot)org
Subject: Stepping through a table.
Date: 1999-08-16 02:58:36
Message-ID: 4.1.19990815225433.00cb6c20@mail.venux.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Greetings,

If I need to process each record in a table, how can I step through each
record? I suppose I could write a query to return all records and fetch
each row that way, but that would be a big memory pig, no? Also, the table
could get pretty big. Is there some way to navigate a table, maybe
fetching one record from the disk at a time, or something similar?

Thanks,
Matthew Hagerty

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Jan Wieck 1999-08-16 08:10:11 Re: [SQL] new.oid not working inside rule [repost]
Previous Message Tom Lane 1999-08-15 15:48:41 Re: [SQL] Agregate Problem?