| From: | Andrew Sullivan <andrew(at)libertyrms(dot)info> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: GET LAST ID INSERT |
| Date: | 2003-09-24 13:06:58 |
| Message-ID: | 20030924130658.GB12630@libertyrms.info |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Wed, Sep 24, 2003 at 09:04:49AM +0100, Marek Lewczuk wrote:
> BEGIN
> var_query := ''SELECT '' || $3 ||'' AS __id FROM '' || $2 || '' WHERE
> oid = '' || $1 || '';'';
Note that tables can be created without oids, and oids are not
automatically indexed. So this function might not work in future,
and will possibly be very slow.
A
--
----
Andrew Sullivan 204-4141 Yonge Street
Liberty RMS Toronto, Ontario Canada
<andrew(at)libertyrms(dot)info> M2P 2A8
+1 416 646 3304 x110
| From | Date | Subject | |
|---|---|---|---|
| Next Message | K. Deepa | 2003-09-24 13:49:15 | Accessing tables from different databases |
| Previous Message | Robert Treat | 2003-09-24 12:15:29 | Re: About GPL and proprietary software |