Re: pg_dumplo, thanks :) (fwd) - Mailing list pgsql-hackers

From Don Baccus
Subject Re: pg_dumplo, thanks :) (fwd)
Date
Msg-id 3.0.1.32.20000406115025.014059a0@mail.pacifier.com
Whole thread Raw
In response to Re: pg_dumplo, thanks :) (fwd)  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
At 02:06 PM 4/6/00 -0400, Bruce Momjian wrote:

>> In other words something like "to_char(sysdate, 'yyyy-mm-dd')" formats
>> sysdate rather than ignore the formatting characters.  Turns out the
>> toolkit we're porting from Oracle almost always uses upper case, but
>> not always and one of our gang just ran into this earlier this morning
>> while porting over one of the toolkit module...
>
>Doesn't the upper/lower affect how the result displays.  I think that is
>a cool effect.

Not in Oracle, AFAIK.  I'm not enough of an Oracle nerd to know for sure,
actually, I'm helping port this stuff from Oracle so I can avoid using 
it!  (in particular, paying for it)

In the current PG implementation, lower case strings aren't recognized
as format strings at all, apparently...
>> BTW, I can't begin to tell you how much easier our porting job is due
>> to the existence of to_char...
>
>Great.  That is new to 7.0.

Yeah, we know that...actually one of our crew wrote a to_char using
embedded Tcl for 6.5, but having to_char built-in is nice.

> We like ports _from_ Oracle.

Well...you've got about 150 more folks using PG 7.0 beta2 than you
would without it...



- 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: pg_dumplo, thanks :) (fwd)
Next
From: Bruce Momjian
Date:
Subject: Re: Book and TEMP vs. TEMPORARY