Re: pgadmin vs psql output - Mailing list pgsql-general

From Tom Lane
Subject Re: pgadmin vs psql output
Date
Msg-id 15046.1475270138@sss.pgh.pa.us
Whole thread Raw
In response to pgadmin vs psql output  (Rakesh Kumar <rakeshkumar464@outlook.com>)
List pgsql-general
Rakesh Kumar <rakeshkumar464@outlook.com> writes:
> I have a bytea col which stores Java UUID data. When I run
> Select cast(uuid_col as varchar) from table limit 1

> Output in pgadmin
> -===================
> "A0000000000000000000000000000001"

> Output in psql
> ========
>  \x4130303030303030303030303030303030303030303030303030303030303031

> is there some setting in psql output I need to take care of.

See "bytea_output" parameter.

            regards, tom lane


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: System crashed: fatal error restarting postgres
Next
From: David Rowley
Date:
Subject: Re: Parallel query only when EXPLAIN ANALYZEd