[UPHPU] Postgres Insert ID

Kyle Waters unum at unum5.org
Wed Oct 22 15:41:27 MDT 2008


thebigdog wrote:
>
> select currval('sequence_name');
>   

I often set this as a rule for on insert, so I can have the index that I
just inserted.

Kyle



More information about the UPHPU mailing list