Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 3963C9FBC4B for ; Thu, 26 Jul 2007 04:39:28 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 71841-03 for ; Thu, 26 Jul 2007 04:39:22 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by postgresql.org (Postfix) with ESMTP id BD1E69FBDFA for ; Thu, 26 Jul 2007 04:39:21 -0300 (ADT) Received: from [194.25.154.138] (helo=webserv.wug.de) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis), id 0MKwtQ-1IDxwN35Xb-0006sy; Thu, 26 Jul 2007 09:39:20 +0200 Received: from kretschmer by webserv.wug.de with local (Exim 3.36 #1) id 1IDxwM-0005yE-00 for pgsql-sql@postgresql.org; Thu, 26 Jul 2007 09:39:18 +0200 Date: Thu, 26 Jul 2007 09:39:18 +0200 From: "A. Kretschmer" To: pgsql-sql@postgresql.org Subject: Re: How to cast, if type has spaces in the name Message-ID: <20070726073918.GB18616@a-kretschmer.de> References: <46A84E35.7000609@obviously.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46A84E35.7000609@obviously.com> X-OS: Debian/GNU Linux - weil ich es mir Wert bin! X-Message-Flag: "Windows" is not the answer. "Windows" is the question and the answer is "no"! User-Agent: Mutt/1.5.9i X-Provags-ID: V01U2FsdGVkX199reRyPkgVXzGtdfqi5whOImd8RKxO4BO7Kvw 8oUN0kxcXi3FFcWrtkt5/xjFBd5q9N0QtT5ieBzzBz8HIw3+8I 1kIcqOXz7ZC1wFkuvFXEJK35osFy+05 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/153 X-Sequence-Number: 28888 am Thu, dem 26.07.2007, um 0:33:09 -0700 mailte Bryce Nesbitt folgendes: > How do I specify a cast, if the type name has spaces? foo::integer is > easy, > but foo::'timestamp without time zone' is more murky. Use timestamp instead ;-) Andreas -- Andreas Kretschmer Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header) GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net