the patch include:
Bruce Momjian <bruce@momjian.us>
the patch include:
- rename ichar() to chr() (discussed with Tom)
- add docs for oracle compatible routines:
btrim()
ascii()
chr()
repeat()
- fix bug with timezone in to_char()
- all to_char() variants return NULL instead textin("")
if it's needful.
The contrib/odbc is without changes and contains same routines as main
tree ... because I not sure how plans are Thomas with this :-)
Karel
---------------------------------------------------------------------------
This effectively one line patch should fix the fact that
foreign key definitions in create table were erroring if
a primary key was defined. I was using the columns
list to get the columns of the table for comparison, but
it got reused as a temporary list inside the primary key
stuff.
Stephan Szabo
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +31 −7 |
| src/backend/parser/analyze.c | modified | +2 −2 |
| src/backend/utils/adt/formatting.c | modified | +16 −6 |
| src/backend/utils/adt/oracle_compat.c | modified | +51 −11 |
| src/include/catalog/pg_proc.h | modified | +2 −2 |