Re: Creating a session variable in Postgres - Mailing list pgsql-general

From Mike Nolan
Subject Re: Creating a session variable in Postgres
Date
Msg-id 200406031959.i53Jxfnq008347@gw.tssi.com
Whole thread Raw
In response to Re: Creating a session variable in Postgres  (Richard Huxton <dev@archonet.com>)
Responses Re: Creating a session variable in Postgres
List pgsql-general
> Would I be right in assuming that's going to be burning through OIDs
> though (possibly an issue for a web-app with lots of short sessions).

:climbing on soapbox:
If pg had a 64-bit system record ID like Oracle does, that'd
take care of this issue, at least until you managed to write
18 quintilliion (1.8e19) rows.  At a million rows a second, that'll
take you about 584,000 years.

Yeah, it costs some disk space, but disk space is cheap compared
to having to confront the OID rollover issue over and over again,
and not just because of bad database design.
:climbing off soapbox:
--
Mike Nolan

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Who is managing the postgresql documentation?
Next
From: Alvaro Herrera
Date:
Subject: Re: Check for prepared statement