From: | "Nagib Abi Fadel" <nagib(dot)abi-fadel(at)usj(dot)edu(dot)lb> |
---|---|
To: | "Manfred Koizar" <mkoi-pg(at)aon(dot)at> |
Cc: | "Mike Mascari" <mascarm(at)mascari(dot)com>, "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "generalpost" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Creating a session variable in Postgres |
Date: | 2004-06-04 09:14:09 |
Message-ID: | 009701c44a14$50c510b0$f664a8c0@nagib |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
So considering those facts, it would be better to use the Sequence Method,
since it would only require cleaning up one table ....
Or is there anything else i am missing ???
----- Original Message -----
From: "Manfred Koizar" <mkoi-pg(at)aon(dot)at>
To: "Nagib Abi Fadel" <nagib(dot)abi-fadel(at)usj(dot)edu(dot)lb>
Cc: "Mike Mascari" <mascarm(at)mascari(dot)com>; "Bruce Momjian"
<pgman(at)candle(dot)pha(dot)pa(dot)us>; "generalpost" <pgsql-general(at)postgresql(dot)org>
Sent: Friday, June 04, 2004 08:32 AM
Subject: Re: [GENERAL] Creating a session variable in Postgres
> On Fri, 4 Jun 2004 08:25:38 +0200, "Nagib Abi Fadel"
> <nagib(dot)abi-fadel(at)usj(dot)edu(dot)lb> wrote:
> >The use of sequence would require to clean up the table every N hour .
>
> Right.
>
> >The use of temporary table wouldn't require any cleanup.
>
> Wrong. You would have to clean up the meta data, at least pg_class and
> pg_attribute, maybe pg_index also. For the price of one temp table you
> can have several rows in a permanent table.
>
> Servus
> Manfred
From | Date | Subject | |
---|---|---|---|
Next Message | Mike Mascari | 2004-06-04 09:21:52 | Re: Creating a session variable in Postgres |
Previous Message | Manfred Koizar | 2004-06-04 08:48:02 | Re: Creating a session variable in Postgres |