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

Re: sequence value of the record just inserted / DBI

From: Jeremy Buchmann <jeremy(at)wellsgaming(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: sequence value of the record just inserted / DBI
Date: 2004-04-14 19:22:45
Message-ID: 1BB9AFD6-8E49-11D8-86B6-000A95D7EFFE@wellsgaming.com (view raw or flat)
Thread:
Lists: pgsql-admin
On Apr 14, 2004, at 10:53 AM, Ben Kim wrote:

>
> I hope it is OK to ask the question here.
>
> Perl's DBI has the following function.
>
> $rv = $dbh->last_insert_id($catalog, $schema, $table, $field);
> "Returns a value 'identifying' the row just inserted, if possible."
>
> I wonder what this $catalog is in this context. It's supposed to be
> metadata, and CREATE USER has CATALOG|NOCATALOG option, but what would 
> be
> $catalog value for a user table in this context?

Ben,

I don't know what $catalog is supposed to be, but you may have better 
luck on the DBI-Users list or the PGSQL-INTERFACES list.


--Jeremy


In response to

pgsql-admin by date

Next:From: Greg Sabino MullaneDate: 2004-04-15 01:55:59
Subject: Re: sequence value of the record just inserted / DBI
Previous:From: Ben KimDate: 2004-04-14 17:53:19
Subject: sequence value of the record just inserted / DBI

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