pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Judith Altamirano Figueroa <jaltamirano@correolux.com.mx>
Cc: pgsql-sql@postgresql.org
Subject: Re: ichar
Date: Tue, 11 Oct 2005 15:37:49 +0100
Message-ID: <434BCE3D.2070006@archonet.com> (raw)
In-Reply-To: <1129040522.3426.103.camel@Desarrollo>
References: <1129040522.3426.103.camel@Desarrollo>

Judith Altamirano Figueroa wrote:
> I moved from postgres 7.0.2 to 8.0.1,

If you only have one compatability problem, I'd be surprised.

> in the 7.0.2 version I process the next query, and it succeed:
> 
> select ichar(letra_ascii) || '-' || substr('00000' ||num_factura,length
> (num_factura)+1,5) as factura from facturas 
> 
> but in 8.0.1 it outputs the next error:
> 
> ERROR:  not exist the function ichar(integer) 
> HINT:  any function match with the arguments types.
> Add explicit cast of types

I'll point you to Tom Lane's thoughts on this back in 2000:
  http://archives.postgresql.org/pgsql-hackers/2000-09/msg00418.php

HTH
-- 
   Richard Huxton
   Archonet Ltd



view thread (3+ messages)

Message-ID: <434BCE3D.2070006@archonet.com>
Permalink:  ../434BCE3D.2070006@archonet.com/
Also on:    postgresql.org/message-id/434BCE3D.2070006@archonet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: dev@archonet.com, jaltamirano@correolux.com.mx
  Subject: Re: ichar
  In-Reply-To: <434BCE3D.2070006@archonet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox