Re: BIN()

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: BIN()
Date: 2005-11-30 03:08:08
Message-ID: 438D1798.4000006@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Or something like this in SQL or PL/pgSQL:
>
> test=> SELECT ltrim(textin(bit_out(12::bit(64))), '0');
> ltrim
> -------
> 1100
> (1 row)

Sweeeeet. Good old i/o functions.

Chris

In response to

  • Re: BIN() at 2005-11-30 03:02:51 from Michael Fuhr

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-11-30 03:35:32 Re: BIN()
Previous Message Christopher Kings-Lynne 2005-11-30 03:04:05 Re: BIN()