Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f6NEEKf74470 for ; Mon, 23 Jul 2001 10:14:20 -0400 (EDT) (envelope-from pgsql-interfaces-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6KM1Ha37535 for ; Fri, 20 Jul 2001 18:01:17 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id f6KLYot24005 for pgsql-interfaces@postgresql.org; Fri, 20 Jul 2001 17:34:50 -0400 (EDT) (envelope-from news) From: edp@enter.vg X-Newsgroups: comp.databases.postgresql.interfaces Subject: How to get id of newly inserted row with DBD? Date: Fri, 20 Jul 2001 23:44:33 +0200 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 11 Message-ID: <3B58A641.2AD5D1BF@enter.vg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: scrappy@hub.org X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.5 i686) X-Accept-Language: en To: pgsql-interfaces@postgresql.org X-Archive-Number: 200107/93 X-Sequence-Number: 1847 How to get id of newly inserted row with DBD? I am using DBD-PG 1.01, DBI 1.18, Perl 5.6.1, Apache 1.3.20 and mod_perl 1.25. I need to show the usere the record it creates, but how do I know witch row (rowid, oid) I should show? L. G. Erlandsen