sequence value of the record just inserted / DBI

From: Ben Kim <bkim(at)coe(dot)tamu(dot)edu>
To: pgsql-admin(at)postgresql(dot)org
Subject: sequence value of the record just inserted / DBI
Date: 2004-04-14 17:53:19
Message-ID: Pine.GSO.4.10.10404141237550.24800-100000@edsun.coe.tamu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


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?

Thanks in advance.

Ben Kim

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jeremy Buchmann 2004-04-14 19:22:45 Re: sequence value of the record just inserted / DBI
Previous Message Jodi Kanter 2004-04-14 15:18:24 XTG Data Modeller