X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 6D9149DC85A for ; Mon, 16 Jan 2006 14:49:52 -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 08853-09-2 for ; Mon, 16 Jan 2006 14:49:48 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web54309.mail.yahoo.com (web54309.mail.yahoo.com [206.190.49.119]) by postgresql.org (Postfix) with SMTP id BFB789DC846 for ; Mon, 16 Jan 2006 14:49:45 -0400 (AST) Received: (qmail 57575 invoked by uid 60001); 16 Jan 2006 18:49:45 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=2PuydnbOBVGv3xCdXOFFTd2ZaI9xO44ZJ+kFeUa4UbXdcDNGfOLqGxMwtbxoNRQ70xBNxYEkNu1ktsfl3lTEYtlSzRh0T08alfJT5YnhHjawNT7vAUUQewDS/mHX6yVar0p+ajtwY6w62I1q1M2UZP31zI8ptcz+NNWdEEbIgU0= ; Message-ID: <20060116184945.57573.qmail@web54309.mail.yahoo.com> Received: from [207.141.5.253] by web54309.mail.yahoo.com via HTTP; Mon, 16 Jan 2006 10:49:44 PST Date: Mon, 16 Jan 2006 10:49:44 -0800 (PST) From: chester c young Subject: best way for constants in the database To: pgsql-sql@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.479 required=5 tests=[DNS_FROM_RFC_ABUSE=0.479] X-Spam-Score: 0.479 X-Spam-Level: X-Archive-Number: 200601/94 X-Sequence-Number: 23883 anybody have a good way to impliment constants in the database? using an immutable pgpgsql function, constant_name() - works, but not necessarily very efficient. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com