carray_to_bytea? - Mailing list pgsql-general

From Ken Been
Subject carray_to_bytea?
Date
Msg-id CANe84rxLfx_K9iVg4ywvBKCo_Zvg7wONu45ya7nc_4NNPuKDyA@mail.gmail.com
Whole thread Raw
Responses Re: carray_to_bytea?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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?

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Migrate whole cluster to utf8
Next
From: bricklen
Date:
Subject: Re: ERROR: invalid page in block 1226710 of relation base/16750/27244