X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id CF91E9DCB5D for ; Wed, 22 Mar 2006 20:37:58 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 92934-03 for ; Wed, 22 Mar 2006 20:38:01 -0400 (AST) X-Greylist: delayed 21:57:45.021828 by SQLgrey- Received: from kuu.deru.net (kuu.deru.net [140.99.31.34]) by postgresql.org (Postfix) with ESMTP id 2B6F79DCA6D for ; Wed, 22 Mar 2006 20:37:55 -0400 (AST) Received: from [67.136.150.199] (helo=phx-dialpool-67-136-150-199.ispnetbilling.com) by kuu.deru.net with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.52) id 1FMDpr-0005aB-Az for pgsql-hackers@postgresql.org; Wed, 22 Mar 2006 17:37:56 -0700 From: Trent Shipley Reply-To: tshipley@deru.com To: pgsql-hackers@postgresql.org Subject: Re: Modular Type Libraries: was A real currency type Date: Wed, 22 Mar 2006 17:39:12 -0700 User-Agent: KMail/1.8.2 References: <200603211940.40254.tshipley@deru.com> <9578.1142998743@sss.pgh.pa.us> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603221739.15253.tshipley@deru.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - kuu.deru.net X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - deru.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.285 required=5 tests=[AWL=0.285] X-Spam-Score: 0.285 X-Spam-Level: X-Archive-Number: 200603/954 X-Sequence-Number: 81352 On Wednesday 2006-03-22 08:53, William ZHANG wrote: > "Tom Lane" > > > Timestamps and numerics are definitely in the spec, geometric and > > network types are definitely not. IIRC, bitstring types are in SQL99 > > but for some reason are deprecated in SQL2003 (if anyone knows the > > reasoning behind the SQL committee's about-face on that, please clue > > us in). > > There is a standard data type called "BIT" in ODBC and JDBC, > but it is sth. like SQL standard's BOOLEAN, not BIT. It seems that > some DBMSs implement BIT as BOOLEAN in the backend. Maybe the standard > committee think that bit string is useless and easy to cause confusion? In or out of the standard, bitstring can be a nice type to have.