Re: [HACKERS] memory dilemma - Mailing list pgsql-hackers

From Don Baccus
Subject Re: [HACKERS] memory dilemma
Date
Msg-id 3.0.1.32.19991210031705.00ed6168@mail.pacifier.com
Whole thread Raw
In response to Re: [HACKERS] memory dilemma  (Karel Zak - Zakkr <zakkr@zf.jcu.cz>)
List pgsql-hackers
At 11:28 AM 12/28/99 +0100, Karel Zak - Zakkr wrote:
>Thank for all suggestion. I finaly use in to_char() cache via static buffer,
>and if format-picture will bigger than this buffer, to_char will work as
>without cache. This solution eliminate memory leak - this solution is used
>in current datetime routines. It is good compromise.

Seems simple and safe, yes.  My objection was really due to my concern
over memory leaks.  The "to_char()" function will be a great help to
those porting over Oracle applications to Postgres.



- Don Baccus, Portland OR <dhogaza@pacifier.com> Nature photos, on-line guides, Pacific Northwest Rare Bird Alert
Serviceand other goodies at http://donb.photo.net.
 


pgsql-hackers by date:

Previous
From: Don Baccus
Date:
Subject: Re: [HACKERS] RE: What database i can use? (fwd)
Next
From: wieck@debis.com (Jan Wieck)
Date:
Subject: LZTEXT is removed