Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 8DA662E4236 for ; Tue, 5 Feb 2008 16:12:25 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 59322-03 for ; Tue, 5 Feb 2008 16:12:18 -0400 (AST) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.187]) by postgresql.org (Postfix) with ESMTP id 383612E4070 for ; Tue, 5 Feb 2008 16:12:21 -0400 (AST) Received: by rv-out-0910.google.com with SMTP id g13so1947031rvb.43 for ; Tue, 05 Feb 2008 12:12:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=RJex/hYiwSb02d4UobCx6vBueNY/hBDDbyL9QdstOR4=; b=xXrsSnEkwCzabBlbKSpW8kbc2Ay6848SGVH1QyDfLF2ZbxpowbDvbAO3xy8t0FFbGdsUkUji8mnqC8jpV7xXIGFJL5nvJicvOEE5ELQhBDhdwhx1lbu4waaPxL69GKKiF/Gs1agsWldWtqemXLS9EvCQODMnukRaXF5LRoCabAw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=r98JxqwqOSXCo+WPlJxNpI8MbEJwjsZzlts2stdE/rhA2HqpIAR7b9ScBrEBwUY+4xCFd7TaqL2kEDFO+A9SFqcYapOiTnWpRqreUxnou4M+viliby21iflsFJVnZayX6d/O5RIZhSi9vhFtpztTWHed4jnmWbusDQQsdOjfuIA= Received: by 10.141.141.3 with SMTP id t3mr5964423rvn.52.1202242338953; Tue, 05 Feb 2008 12:12:18 -0800 (PST) Received: by 10.141.169.5 with HTTP; Tue, 5 Feb 2008 12:12:18 -0800 (PST) Message-ID: <684362e10802051212m7dacf641xaf7a36a5154b2a1d@mail.gmail.com> Date: Wed, 6 Feb 2008 02:12:18 +0600 From: "Markus Bertheau" To: "Jaime Casanova" Subject: Re: Cast in PG 8.3 Cc: "Franklin Haut" , pgsql-sql@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <47A8B788.6010304@gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/23 X-Sequence-Number: 30114 2008/2/6, Jaime Casanova : > did you read the release notes? Obviously he did: > I Know that changing the SQL command to : > SELECT * FROM TEMP WHERE CAST(id AS TEXT) ilike ('%122%'); > work=B4s but for now isn't possible... :( > > > I Tries create a cast but the function text doesn't exist more in PG 8.3 > > CREATE CAST (int AS text) WITH FUNCTION text(int); > > can everyone help me to create a cast ou other solution ? So the question stands.