Converting BYTEA from/to BIGINT

From: Vincenzo Romano <vincenzo(dot)romano(at)notorand(dot)it>
To: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Converting BYTEA from/to BIGINT
Date: 2010-07-26 09:32:17
Message-ID: AANLkTikip9xs8iXc8e+Mgz1T1701i8Xk6QtbVB3KJQzX@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all.

I'd like to convert an 8-bytes BYTEA into a BIGINT and possibly vice versa.
Is there any way to do it?

--
Vincenzo Romano
NotOrAnd Information Technologies
NON QVIETIS MARIBVS NAVTA PERITVS

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Machiel Richards 2010-07-26 09:46:19 Re: Data dumps to files - best methods?
Previous Message Magnus Reftel 2010-07-26 07:49:21 Re: Redirect sequence access to different schema