in reply to Re: Getting id of postgres record inserted via DBI
in thread Getting id of postgres record inserted via DBI

Modern PostgreSQL supports the RETURNING keyword.

s/Modern /Since time immemorial /;

because INSERT ... RETURNING * is in PostgreSQL since 2006, version 8.2.

Replies are listed 'Best First'.
Re^3: Getting id of postgres record inserted via DBI
by marto (Cardinal) on Jun 22, 2023 at 16:21 UTC

    For some people, 2006 tech is futuristic :P

      I agree that i'm old, yes. I started with PostgreSQL 7 or something like that (after having to work with Oracle for many years).

      PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP

        That's not too bad; I was made to work with Oracle 5.