Received: from u1.abs.net (root@u1.abs.net [207.114.0.131]) by hub.org (8.9.1/8.9.1) with ESMTP id JAA26888 for ; Thu, 19 Nov 1998 09:21:26 -0500 (EST) (envelope-from byronn@insightdist.com) Received: from insightdist.com (nobody@localhost) by u1.abs.net (8.9.0/8.9.0) with UUCP id JAA00562 for pgsql-interfaces@hub.org; Thu, 19 Nov 1998 09:08:25 -0500 (EST) X-Authentication-Warning: u1.abs.net: nobody set sender to insightdist.com!byronn using -f Received: from ceodev by insightdist.com (AIX 3.2/UCB 5.64/4.03) id AA15453; Thu, 19 Nov 1998 08:35:15 -0500 Received: from byronn by ceodev (AIX 4.1/UCB 5.64/4.03) id AA74326; Thu, 19 Nov 1998 08:34:21 -0500 Message-Id: <36541FB9.28A3C9C@insightdist.com> Date: Thu, 19 Nov 1998 08:40:10 -0500 From: Byron Nikolaidis X-Mailer: Mozilla 4.05 [en] (Win95; I) Mime-Version: 1.0 To: angg Cc: pgsql-interfaces@hub.org Subject: Re: [INTERFACES] Unexpected protocol character from backend References: <01be139d$dda31bc0$0b02a8c0@mis1> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit angg wrote: > I'm trying to use large objects from Borland C++ Builder via ODBC. Large > object wasn't created with an error message "Unexpected protocol character > from backend". This is quotting from mylog.log file: > > [...] > SQLPutData: (1) cbValue = 8192 > send_function(): conn=51460548, fnid=957, result_is_int=1, nargs=1 > send_function: done sending function > arg[0]: len = 4, isint = 1, integer = 393216, ptr = 393216 > done sending args > SOCK_flush_output: self->buffer_out = F , self->buffer_filled_out = 19, > written = 19 > after flush output > got id = Z > send_function: error - Unexpected protocol character from backend > OID: 0 > STATEMENT ERROR: func=SQLPutData, desc='', errnum=1, errmsg='Couldnt create > large object.' > CONN ERROR: func=SQLPutData, desc='', errnum=6, errmsg='Unexpected protocol > character from backend' > **** SQLError: henv=0, hdbc=0, hstmt=51475184 > SC_get_error: status = 1, msg = #Couldnt create large object.; > Unexpected protocol character from backend# > szSqlState = '08S01', szError='Couldnt create large object.; > Unexpected protocol character from backend' > **** SQLError: henv=0, hdbc=0, hstmt=51475184 > returning NO_DATA_FOUND > [...] > > Couldn't anybody tell me please where can I get information about the > "protocol character". > > This is a 6.4 protocol bug in the odbc driver. I will fix it but in the meantime, you can set the protocol to 6.3 and it should work. Byron