Skip site navigation (1) Skip section navigation (2)

Cant load pgtclsh library into application

From: "Amit Padgaonkar" <amit(at)nsat(dot)co(dot)jp>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Cant load pgtclsh library into application
Date: 2001-11-27 07:10:47
Message-ID: 003801c17712$a37c17e0$ (view raw, whole thread or download thread mbox)
Lists: pgsql-docspgsql-interfacespgsql-patches
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
            Can you please suggest me how to proceed?

----- Original Message -----
From: "Patrick Welche" <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
To: "Joe Conway" <joseph(dot)conway(at)home(dot)com>
Cc: <pgsql-interfaces(at)postgresql(dot)org>
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
> ...
> +    <function>PQescapeBytea</function>
> +    Escapes a binary string (bytea type) for use within an SQL query.
> +    <synopsis>
> +     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(at)postgresql(dot)org)

In response to


pgsql-docs by date

Next:From: Peter EisentrautDate: 2001-11-27 14:36:50
Subject: Re: Documentation gap: Perl interfaces
Previous:From: Josh BerkusDate: 2001-11-27 01:23:13
Subject: Re: PL/pgSQL examples NOT involving functions

pgsql-patches by date

Next:From: Weiping HeDate: 2001-11-27 12:44:39
Subject: Re: Chinese NLS patch, the third try.
Previous:From: Igor KovalenkoDate: 2001-11-27 03:39:42
Subject: Re: Support for QNX6, POSIX IPC and PTHREAD-style locking

pgsql-interfaces by date

Next:From: Michael MeskesDate: 2001-11-27 11:53:30
Subject: Re: Fwd: Re: ECPG error on inserting records to DB
Previous:From: MarinesDate: 2001-11-27 05:20:36
Subject: How to use constant or define inside the declare section in PostgreSQL's ecpg?

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group