You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I prepare a select on a table with a bytea column and execute the SQLDescribeCol column I get a -3 type (VARBINARY) and size 255. However with bytea active I get 0 size.
The SQLDEscribeCol documentation states that 0 is a valid value for sizes that can not be determined. However it seems a bit inconsistent the difference between VARBINARY and LONGVARBINARY. Is this expected?
Test on bytea column describe with default configuration
This is the output of pgadmin generating the create table script. Any table with a bytea column and preparing a select on it should work. My test was preparing a select * and describing column 2
CREATE TABLE IF NOT EXISTS public.test_binary
(
id integer,
binary_data bytea,
description character varying(255) COLLATE pg_catalog."default"
)
When I prepare a select on a table with a bytea column and execute the SQLDescribeCol column I get a -3 type (VARBINARY) and size 255. However with bytea active I get 0 size.
The SQLDEscribeCol documentation states that 0 is a valid value for sizes that can not be determined. However it seems a bit inconsistent the difference between VARBINARY and LONGVARBINARY. Is this expected?
Test on bytea column describe with default configuration
mylog output:
However when I enable "bytea as LO":
mylog output:
The text was updated successfully, but these errors were encountered: