Received: from gw0.netone.co.jp (gw0.netone.co.jp [157.2.21.248]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fAR7Cam54997 for ; Tue, 27 Nov 2001 02:12:37 -0500 (EST) (envelope-from amit@nsat.co.jp) Received: from gw0.netone.co.jp (root@localhost) by gw0.netone.co.jp with ESMTP id fAR7CVV16079 for ; Tue, 27 Nov 2001 16:12:31 +0900 (JST) Received: from fox.netone.co.jp (fox.netone.co.jp [157.2.20.204]) by gw0.netone.co.jp with ESMTP id fAR7CVL16074 for ; Tue, 27 Nov 2001 16:12:31 +0900 (JST) Received: from mpomr.netone.co.jp (mpomr.netone.co.jp [157.2.20.214]) by fox.netone.co.jp (8.9.1/3.7W+P1+P201110917) with ESMTP id QAA18929 for ; Tue, 27 Nov 2001 16:14:36 +0900 (JST) Received: from amit ([10.32.32.224]) by mpomr.netone.co.jp (Mirapoint) with SMTP id AAK64450; Tue, 27 Nov 2001 16:12:30 +0900 (JST) Message-ID: <003801c17712$a37c17e0$e020200a@netone.co.jp> From: "Amit Padgaonkar" To: References: <3BFABB2C.3020307@home.com> <20011121122555.B21102@quartz.newn.cam.ac.uk> Subject: Cant load pgtclsh library into application Date: Tue, 27 Nov 2001 16:10:47 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Archive-Number: 200111/69 X-Sequence-Number: 2129 Hi Guys, I have just begun coding in tcl/tk and hence sorry for this simple question. I am using tcl8.3 / tk8.3 and postgreSQL 7.3 . I am not able to load pgtclsh library into to my TK application for giving it backend support. Can you please suggest me how to proceed? Thanks, Amit ----- Original Message ----- From: "Patrick Welche" To: "Joe Conway" Cc: Sent: Wednesday, November 21, 2001 9:25 PM Subject: Re: [INTERFACES] [PATCHES] PQescapeBytea documentation patch > On Tue, Nov 20, 2001 at 12:21:00PM -0800, Joe Conway wrote: > > Here's a patch adding documentation for the PQescapeBytea function to > > libpq.sgml > ... > + PQescapeBytea > + Escapes a binary string (bytea type) for use within an SQL query. > + > + unsigned char *PQescapeBytea(unsigned char *from, > + size_t from_length, > + size_t *to_length); > > > This makes me wonder: should libpq contain a function to do the opposite > too? eg. > > string=GetValue(from a bytea type column) > PQunescapeBytea(string, some buffer, buffer's size) > > - or is there already another way of doing it? > > It seems to me that anyone using bytea with libpq will end up having > to reinvent this wheel. (Something worthy of being knocked up in my > Copious Free Time (tm)) > > Cheers, > > Patrick > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)