pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hannu Krosing <hannu@trust.ee>
To: vikrant@neuronetin.com
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] Retrieve rows 1 by 1
Date: Wed, 10 Mar 1999 10:00:25 +0200
Message-ID: <36E62699.4F515304@trust.ee> (raw)
References: <36E5EA38.F88061AF@chemquick.com>

Vikrant Rathore wrote:
> 
> Please any one can tell me how to update,insert or change a single row
> using libpq interface. The table is not indexed and do not have a
> primary key.

each row has an unique 'object identifier' field called oid (that is 
returned by a single-row insert if you use the psql interface)

so you can use where oid=NNNNN as qualification

Hannu



view thread (3+ messages)  latest in thread

Message-ID: <36E62699.4F515304@trust.ee>
Permalink:  ../36E62699.4F515304@trust.ee/
Also on:    postgresql.org/message-id/36E62699.4F515304@trust.ee

 · 

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: hannu@trust.ee, vikrant@neuronetin.com
  Subject: Re: [INTERFACES] Retrieve rows 1 by 1
  In-Reply-To: <36E62699.4F515304@trust.ee>

* 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