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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-admin by date

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