Re: Removing special case OID generation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Simon Riggs <simon(at)2ndQuadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Removing special case OID generation
Date: 2012-02-07 15:05:40
Message-ID: 6739.1328627140@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Simon Riggs <simon(at)2ndQuadrant(dot)com> writes:
> So ISTM that we should just strip out the OID handling code and just
> have a system sequence defined like this

I think this is a pretty poor idea, because the overhead of nextval()
is quite a lot larger than the overhead to get an OID.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2012-02-07 15:14:02 Re: patch for preventing the specification of conflicting transaction read/write options
Previous Message Tom Lane 2012-02-07 14:55:14 Re: incorrect handling of the timeout in pg_receivexlog