Re: BIN() - Mailing list pgsql-hackers

From Michael Fuhr
Subject Re: BIN()
Date
Msg-id 20051130070311.GA73957@winnie.fuhr.org
Whole thread Raw
In response to Re: BIN()  (Tino Wildenhain <tino@wildenhain.de>)
Responses Re: BIN()  (Tino Wildenhain <tino@wildenhain.de>)
List pgsql-hackers
On Wed, Nov 30, 2005 at 07:42:36AM +0100, Tino Wildenhain wrote:
> In python, I usually go like this:

In Ruby (and therefore in PL/Ruby) you could do this:

10.to_s(2)
=> "1010"

10.to_s(16)
=> "a"

-- 
Michael Fuhr


pgsql-hackers by date:

Previous
From: Tino Wildenhain
Date:
Subject: Re: BIN()
Next
From: Tom Lane
Date:
Subject: Re: slow IN() clause for many cases