From: | Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu> |
---|---|
To: | Edwin Ramirez <ramirez(at)doc(dot)mssm(dot)edu> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Postgres Hackers List <hackers(at)postgreSQL(dot)org> |
Subject: | Re: [HACKERS] Oracle Compatibility (Translate function) |
Date: | 1999-12-17 17:21:57 |
Message-ID: | 385A7135.51ECBBA2@alumni.caltech.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
> I have modified the translate function in order to improve its
> compatibility with Oracle. It now supports the replacement of
> multiple characters and it will also shorten the length of the string
> when characters are replaced with nothing.
> [Note: The arguments are different from the original translate]
> Can this function replace the existing function in the distribution?
afaik yes. Does anyone have a problem with this (it allows
substitution of multiple characters)? I think the system tables will
need to be updated; I'll do this within the next week or so if noone
else has already taken this on.
btw, there is some chance that when we go to native support for
NATIONAL CHARACTER etc then TRANSLATE() will need to become SQL92
compliant (and basically a different function). But that is an issue
for later, and we may be able to solve it without having to give up on
the Oracle version.
- Thomas
--
Thomas Lockhart lockhart(at)alumni(dot)caltech(dot)edu
South Pasadena, California
From | Date | Subject | |
---|---|---|---|
Next Message | Karl DeBisschop | 1999-12-17 17:41:20 | problem creating index in 6,5,3 |
Previous Message | Kimmo Lahdensivu | 1999-12-17 17:19:04 | Re: [BUGS] Bug: Inserting |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 1999-12-17 17:24:01 | Re: [HACKERS] psql vs. gcc |
Previous Message | Thomas Lockhart | 1999-12-17 17:13:05 | Re: [HACKERS] Re: Notation for nextval() (was Re: Several small patches) |