X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5601CD8B3D for ; Thu, 8 Sep 2005 22:09:47 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 80355-10 for ; Fri, 9 Sep 2005 01:09:41 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 3831ED8B35 for ; Thu, 8 Sep 2005 22:09:42 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j8919kFr027365; Thu, 8 Sep 2005 21:09:46 -0400 (EDT) To: miwalsh Cc: pqsql Subject: Re: Numeric Columns In-reply-to: <438F8BE9@zathras> References: <438F8BE9@zathras> Comments: In-reply-to miwalsh message dated "Thu, 08 Sep 2005 20:43:37 -0400" Date: Thu, 08 Sep 2005 21:09:46 -0400 Message-ID: <27364.1126228186@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200509/99 X-Sequence-Number: 22646 miwalsh writes: > I need to make a column that is capable of holding numeric values along with > certain modifiers such as "<" or ">". The column needs to be searchable by > numbers. For example, if someone searches for values lower than 10.0 the > column should return the relevant values. However, the column needs to be able > to hold values like "<0.05". contrib/seg might do more or less what you're looking for, but none of the standard datatypes will. regards, tom lane