Re: [HACKERS] how to deal with sparse/to-be populated tables

From: Alfred Perlstein <bright(at)wintelcom(dot)net>
To: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgreSQL(dot)org, chris(at)bitmead(dot)com
Subject: Re: [HACKERS] how to deal with sparse/to-be populated tables
Date: 2000-02-04 05:41:16
Message-ID: 20000203214116.A25520@fw.wintelcom.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> [000203 21:34] wrote:
> > -----Original Message-----
> > From: owner-pgsql-hackers(at)postgreSQL(dot)org
> > [mailto:owner-pgsql-hackers(at)postgreSQL(dot)org]On Behalf Of Tom Lane
> >
> > Chris Bitmead <chrisb(at)nimrod(dot)itg(dot)telstra(dot)com(dot)au> writes:
> > > Hmm. Doesn't PostgreSQL have a big list of error codes? I don't think
> > > it does, I've never seen one. There should be a way to get error
> > > codes without comparing strings. Should this be on the TODO?
> >
> > It doesn't, there should, and it already is ;-)
> >
>
> Doens't the following TODO imply it ?
>
> * Allow elog() to return error codes, not just messages
>
> Many people have complained about it.
> However,it seems not effective without a functionality of statement
> level rollback. AFAIK,Vadim has planed it together with savepoint
> functionality.

It would help, but it wouldn't be avoid the double searches I seem
to need to do to maintain a unique index.

--
-Alfred Perlstein - [bright(at)wintelcom(dot)net|alfred(at)freebsd(dot)org]

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-02-04 05:42:58 Re: [HACKERS] Another nasty cache problem
Previous Message Alfred Perlstein 2000-02-04 05:32:33 Re: [HACKERS] how to deal with sparse/to-be populated tables