Re: Converting BYTEA from/to BIGINT - Mailing list pgsql-general

From Vincenzo Romano
Subject Re: Converting BYTEA from/to BIGINT
Date
Msg-id AANLkTinoNO77XnMzyVAqxpEJjwY=vF4ty6_=QF5aa+tj@mail.gmail.com
Whole thread Raw
In response to Re: Converting BYTEA from/to BIGINT  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Converting BYTEA from/to BIGINT  (Vincenzo Romano <vincenzo.romano@notorand.it>)
List pgsql-general
2010/7/26 Pavel Stehule <pavel.stehule@gmail.com>:
> Hello
>
> you can try
>
> postgres=# select int8send(256);
>      int8send
> --------------------
>  \x0000000000000100
> (1 row)
>
> for converting from bytea to int8 you need a custom function - probably in C :(

int8send?

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

pgsql-general by date:

Previous
From: Vincenzo Romano
Date:
Subject: Re: Converting BYTEA from/to BIGINT
Next
From: Artur Dabrowski
Date:
Subject: Re: Incorrect FTS result with GIN index