From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Gunnar \"Nick\" Bluth <gunnar.bluth@pro-open.de>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: SELECT of pseudo hex value gives unexpected result
Date: Tue, 29 Jan 2019 17:41:21 +0100
Message-ID: <20ce81e922adf485fe745f40b1da596de53a4c08.camel@cybertec.at> (raw)
In-Reply-To: <3edb0e31-8fea-3cf7-477c-7554ea25975e@pro-open.de>
References: <3edb0e31-8fea-3cf7-477c-7554ea25975e@pro-open.de>
Gunnar "Nick" Bluth wrote:
> Tried
> SELECT 0x5e73266725;
>
> and received:
> -[ RECORD 1 ]--
> x5e73266725 | 0
>
> That was not what I expected... is this expected/documented behaviour?
Looks like you don't need a space between a number literal and
the column alias.
I don't see any problem with that.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: laurenz.albe@cybertec.at, gunnar.bluth@pro-open.de
Subject: Re: SELECT of pseudo hex value gives unexpected result
In-Reply-To: <20ce81e922adf485fe745f40b1da596de53a4c08.camel@cybertec.at>
References: <3edb0e31-8fea-3cf7-477c-7554ea25975e@pro-open.de> <20ce81e922adf485fe745f40b1da596de53a4c08.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox