7.1: to_char(): Y,YY,YYY,YYYY fix

Started by Karel Zakover 25 years ago2 messagespatches
Jump to latest
#1Karel Zak
zakkr@zf.jcu.cz

Hi,

here is a patch for formatting.c (to_char/timestampt()), for 7.1
it fixing Y,YY,YYY,YYYY conversion, the docs and regress tests update
are included too.

During the patch testing I found small bug in miscadmin.h in
convertstr() declaration. Here it's fixed too.

Thanks

Karel

/* ----------------
* Karel Zak * zakkr@zf.jcu.cz * http://home.zf.jcu.cz/~zakkr/
* C, PostgreSQL, PHP, WWW, http://docs.linux.cz
* The Mape http://mape.jcu.cz
* ----------------
*/

Attachments:

to_char-11232000.patch.gzapplication/x-gzip; name=to_char-11232000.patch.gzDownload
#2Bruce Momjian
bruce@momjian.us
In reply to: Karel Zak (#1)
Re: 7.1: to_char(): Y,YY,YYY,YYYY fix

Applied. Thanks

Hi,

here is a patch for formatting.c (to_char/timestampt()), for 7.1
it fixing Y,YY,YYY,YYYY conversion, the docs and regress tests update
are included too.

During the patch testing I found small bug in miscadmin.h in
convertstr() declaration. Here it's fixed too.

Thanks

Karel

/* ----------------
* Karel Zak * zakkr@zf.jcu.cz * http://home.zf.jcu.cz/~zakkr/
* C, PostgreSQL, PHP, WWW, http://docs.linux.cz
* The Mape http://mape.jcu.cz
* ----------------
*/

Content-Description:

[ application/x-gzip is not supported, skipping... ]

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026