carray_to_bytea?

From: Ken Been <kbbeen(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: carray_to_bytea?
Date: 2015-10-22 15:02:22
Message-ID: CANe84rxLfx_K9iVg4ywvBKCo_Zvg7wONu45ya7nc_4NNPuKDyA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'd like to propose a carray_to_bytea function, similar to
cstring_to_text_with_len, declared in src/include/utils.h and implemented
in src/backend/utils/adt/varlena.c. The implementation would be the same
as cstring_to_text_with_len, but with a different return type.

I have put the implementation in my code, but I'd much prefer to use a
public API with hidden implementation.

Sound good?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message bricklen 2015-10-22 15:12:41 Re: ERROR: invalid page in block 1226710 of relation base/16750/27244
Previous Message Adrian Klaver 2015-10-22 14:02:38 Re: Migrate whole cluster to utf8