Skip site navigation (1) Skip section navigation (2)

Re: getting value of just inserted rows

From: "(dot)"(at)babolo(dot)ru
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: getting value of just inserted rows
Date: 2002-04-24 00:01:19
Message-ID: 200204240001.EAA18193@aaz.links.ru (view raw or flat)
Thread:
Lists: pgsql-interfaces
> >> How can I get single field (attribute) value just inserted new row
> >> into the table  (by not using select query to find this row)?
> >> 
> >> (type of that field is serial),
Why not using select query?
Use oid from last install and select by oid is the best way IMHO

-- 
@BABOLO      http://links.ru/

In response to

pgsql-interfaces by date

Next:From: Marc ZandvlietDate: 2002-04-24 18:43:06
Subject: help with integrating liblpq program
Previous:From: ibsDate: 2002-04-23 09:48:25
Subject: How can I ld_library path set for lpq++ with FreeBSD ?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group