aclitem binary encoding

From: Joseph Koshakow <koshy44(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: aclitem binary encoding
Date: 2023-07-21 14:30:09
Message-ID: CAAvxfHdpbCjJ6VO+BmJgMVA1yu50xBAEGw2NWaNnug-W0rBHCg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,

I was using a PostgreSQL driver that used binary input/output to query
some ACL data and was surprised to see the following error:

no binary output function available for type aclitem

In fact, aclitem has no binary input or output functions

postgres=# SELECT typinput, typoutput, typreceive, typsend FROM pg_type
WHERE typname = 'aclitem';
typinput | typoutput | typreceive | typsend
-----------+------------+------------+---------
aclitemin | aclitemout | - | -
(1 row)

Is this an intentional decision to not support a binary encoding for
aclitem types? Or is it just a lack of a feature?

Thanks,
Joe Koshakow

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2023-07-21 14:49:49 Re: invalid value for parameter "default_text_search_config": "public.pg"
Previous Message Dimitrios Apostolou 2023-07-21 07:20:37 Re: Moving data from huge table slow, min() query on indexed column taking 38s