type unknown - how important is it?

From: Shachar Shemesh <psql(at)shemesh(dot)biz>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: type unknown - how important is it?
Date: 2004-09-28 18:27:21
Message-ID: 4159AD09.5040207@shemesh.biz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I have a complaint from an OLE DB user that when he does "select 'a'",
he gets an "unhanded type" error. Since OLE DB uses a binary interface,
it has to know about all variable types that pass through it.

The debug information for the problem show that the returned type is
705, which is "unknown". My question is - what is "unknown" used for? Is
it important to support binary send and receives with this type? Does
postgresql know how to convert it to other types?

I was under the impression that 'a' would be "text". Why is "unknown"
used instead?

Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting ltd.
http://www.lingnu.com/

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Merlin Moncure 2004-09-28 18:52:24 shared memory release following failed lock acquirement.
Previous Message Teodor Sigaev 2004-09-28 10:59:47 Optimizer and function returning setof int4