Re: [HACKERS] big text field -> message type 0x44

2002-12-05 Thread Tomas Berndtsson
Doug McNaught <[EMAIL PROTECTED]> writes: > Lee Kindness <[EMAIL PROTECTED]> writes: > > > Tom Lane writes: > > > Okay, so it seems -D_REENTRANT is the appropriate fix. > > > > > > We could either add that to the template/solaris file, or just add a > > > note to FAQ_Solaris advising that it

Re: [HACKERS] big text field -> message type 0x44

2002-12-05 Thread Tomas Berndtsson
Lee Kindness <[EMAIL PROTECTED]> writes: > Tom Lane writes: > > Okay, so it seems -D_REENTRANT is the appropriate fix. > > > > We could either add that to the template/solaris file, or just add a > > note to FAQ_Solaris advising that it be added to the configure switches > > if people intend

Re: [HACKERS] big text field -> message type 0x44

2002-12-05 Thread Tomas Berndtsson
Tom Lane <[EMAIL PROTECTED]> writes: > Tomas Berndtsson <[EMAIL PROTECTED]> writes: > > Indeed you were right in this. But, if I added -D_REENTRANT to the > > Makefile for libpq, it started to set it. If libpq should be thread > > safe, I believe it sho

Re: [HACKERS] big text field -> message type 0x44

2002-12-05 Thread Tomas Berndtsson
Tom Lane <[EMAIL PROTECTED]> writes: > Tomas Berndtsson <[EMAIL PROTECTED]> writes: > > After it tries again, it always gets error from recv() for some reason > > that I don't know. I also don't understand why errno is set to ENOTTY > > at this point, th

Re: [HACKERS] big text field -> message type 0x44

2002-12-04 Thread Tomas Berndtsson
Tom Lane <[EMAIL PROTECTED]> writes: > Tomas Berndtsson <[EMAIL PROTECTED]> writes: > > However, after some semi-random looking through the source code of > > libpq, I tried to change a value, namely here: > > fe-misc.c row 510 in pqReadData(): > >

Re: [HACKERS] big text field -> message type 0x44

2002-12-04 Thread Tomas Berndtsson
Tom Lane <[EMAIL PROTECTED]> writes: > Tomas Berndtsson <[EMAIL PROTECTED]> writes: > > Yep, there is only one installation of PostgreSQL on the machine. My > > application is multithreaded, and I have been very careful to open a > > new connection for each thr

Re: [HACKERS] big text field -> message type 0x44

2002-12-04 Thread Tomas Berndtsson
Tom Lane <[EMAIL PROTECTED]> writes: > Tomas Berndtsson <[EMAIL PROTECTED]> writes: > > Since it works in psql, it must be possible for my application to work > > too, but I just can't figure out why it doesn't. > > I think it's got to be a bug

[HACKERS] big text field -> message type 0x44

2002-12-04 Thread Tomas Berndtsson
Hi, I've been trying to ask on general, and tried to search the archives without much result, so I'll try here. I'm using PostgreSQL 7.2.1 on Solaris 8/sparc. In a table, I have a text field, which may contain long ascii strings. However, when trying to put data larger than about 32000 characters