From: | Byron Nikolaidis <byronn(at)insightdist(dot)com> |
---|---|
To: | angg <angg(at)vng(dot)ru> |
Cc: | pgsql-interfaces(at)hub(dot)org |
Subject: | Re: [INTERFACES] Unexpected protocol character from backend |
Date: | 1998-11-19 13:40:10 |
Message-ID: | 36541FB9.28A3C9C@insightdist.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 1998-11-19 15:05:22 | Re: [INTERFACES] Large Objects |
Previous Message | angg | 1998-11-19 09:20:36 | Unexpected protocol character from backend |