[HACKERS] extract(timezone_hour) problem

2003-03-28 Thread Key88 SF
I understand that internally, Postgres converts timestamps to a GMT format and then redisplays them in the local timezone. cf: http://groups.google.com/groups?selm=Pine.LNX.4.30.0110100104320.672-10%40peter.localdomain&oe=UTF-8&output=gplain However --> doesn't this make the extract(timezone

Re: [HACKERS] PQescapeBytea on Win32

2003-03-17 Thread Key88 SF
e addition of: PQescapeByteaFree(unsigned char *); -Dave From: Joe Conway <[EMAIL PROTECTED]> To: Key88 SF <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [HACKERS] PQescapeBytea on Win32 Date: Mon, 17 Mar 2003 21:41:26 -0800 MIME-Version: 1.0 Received:

[HACKERS] PQescapeBytea on Win32

2003-03-17 Thread Key88 SF
Hi - there is a problem with PQescapeBytea for Win32. Since libpq is a DLL, all memory allocated from within the DLL needs to be freed from within the dll. PQescapeBytea allocates memory, but there is no function call back into the DLL to free this memory. This causes heap corruption when the m