Re: Allowing postgresql to accept 0xff syntax for data types that it makes sense for?

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Allowing postgresql to accept 0xff syntax for data types that it makes sense for?
Date: 2015-05-23 11:36:38
Message-ID: mjpood$p5u$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bill Moran wrote on 22.05.2015 18:57:
> Arrgh ... it's good that you're bringing this up, but you're making me
> realize that there's more to figure out than I originally thought ...
> My focus had been on it being used for BYTEA columns, but there _are_
> plenty of places in the code that do things like:

If this is only about a more compact format for BYTEA, the following is valid in Postgres:

select '\xff'::bytea

It's not exactly what you are after, but maybe "good enough".

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Kellerer 2015-05-23 12:01:08 Re: Allowing postgresql to accept 0xff syntax for data types that it makes sense for?
Previous Message twoflower 2015-05-23 11:23:09 Server tries to read a different config file than it is supposed to