pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-hackers@postgreSQL.org
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] Upgrading the backend's error-message infrastructure
Date: Sun, 16 Mar 2003 12:59:12 -0500
Message-ID: <21237.1047837552@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.44.0303160302550.3020-100000@peter.localdomain>
References: <Pine.LNX.4.44.0303160302550.3020-100000@peter.localdomain>

Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane writes:
>> Given that we now need order-of-thirty possible field types, do you feel
>> uncomfortable with a single-byte field identifier in the FE/BE protocol?

> There's a possible solution:  SQL99 part 3 defines numerical codes for
> each of these fields (table 12/section 5.14).  The codes are between
> around 0 and 40.

Hmm.  I can't see any advantage to these over assigning our own codes;
ours would have at least *some* mnemonic value, rather than being chosen
completely at random ...

			regards, tom lane



view thread (32+ messages)  latest in thread

Message-ID: <21237.1047837552@sss.pgh.pa.us>
Permalink:  ../21237.1047837552@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/21237.1047837552@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter_e@gmx.net, pgsql-hackers@postgreSQL.org
  Subject: Re: [INTERFACES] Upgrading the backend's error-message infrastructure
  In-Reply-To: <21237.1047837552@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox