Re: [HACKERS] translate function (BUG?)

From: Keith Parks <emkxp01(at)mtcc(dot)demon(dot)co(dot)uk>
To: pgsql-hackers(at)postgresql(dot)org, ramirez(at)doc(dot)mssm(dot)edu
Subject: Re: [HACKERS] translate function (BUG?)
Date: 1999-11-13 17:15:28
Message-ID: 199911131715.RAA16056@mtcc.demon.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

What happened with this?

I think I saw a response from Bruce but it wasn't fixed and
doesn't appear in the current CVS of V7.

Keith.

>From: Edwin Ramirez <ramirez(at)doc(dot)mssm(dot)edu>
>Hello all,
>
>I was looking at the translate function and I think that it does not
>behave quite right. I modified the translate function in
>oracle_compat.c (included below) to make work more like its Oracle
>counterpart. It seems to work but it returns the following message:
> NOTICE: PortalHeapMemoryFree: 0x8241fcc not in alloc set!
>
>Below are the Oracle and Postgres session transcripts.
>
>select translate('edwin', 'wi', 'af') from dual;
>ORACLE:
>TRANS
>-----
>edafn
>1 row selected.
>
>POSTGRES
>translate
>---------
>edain
>(1 row)

<snip>

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 1999-11-13 17:15:53 Re: Failure to show descriptions in \df command
Previous Message Bruce Momjian 1999-11-13 16:35:47 Failure to show descriptions in \df command