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

Max Query length string

From: "Ansley, Michael" <Michael(dot)Ansley(at)intec(dot)co(dot)za>
To: "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgresql(dot)org>
Subject: Max Query length string
Date: 1999-07-29 12:36:32
Message-ID: 1BF7C7482189D211B03F00805F8527F70ED09C@S-NATH-EXCH2 (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

I've been mulling over the idea of using stringinfo for psql, but I don't
think that it's such a good idea, because it means that I would be linking
stuff from the backend sub-tree into client tools.  Stringinfo is a module
which implements an expandable string buffer which already exists in
src/backend/lib.  I have required this for psql, and initially wrote my own.
Bruce mentioned that I should look at stringinfo, which I did, and it seems
to fill the requirements just fine.
What I'd like to do is use the expandable buffer that I wrote for psql, and
any other client-side utils that require it; and then use stringinfo for
anything new that requires an expanable buffer in the backend (this will
happen anyway, stringinfo's here to stay).  This removes any dependency
between the client-side and server-side components of the system.  I don't
know if there are any dependencies at the moment, but my first instinct
would be to try to prevent any from creeping in.

Ideas, thoughts...


pgsql-hackers by date

Next:From: The Hermit HackerDate: 1999-07-29 12:52:49
Subject: Re: [HACKERS] Off-topic: autoconf guru
Previous:From: Dmitry SamersoffDate: 1999-07-29 12:04:11
Subject: Off-topic: autoconf guru

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