Re: [PATCH] pg_sleep(interval) - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [PATCH] pg_sleep(interval)
Date
Msg-id CA+TgmoZzhPOqVR6E=RJFEfjhz9RLQ6bCTZOKkB=dvU4pza-pZQ@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] pg_sleep(interval)  (Jim Nasby <jim@nasby.net>)
List pgsql-hackers
On Fri, Oct 18, 2013 at 7:21 PM, Jim Nasby <jim@nasby.net> wrote:
> Yeah, but hasn't every case of this that we've run into been directly
> related to casting problems, and not function or operator preference?

No.

> Something else I'm wondering is if priority should actually be something
> that's numbered instead of just a boolean. I can see far more logic to
> implicitly casting text to double than I can text to interval, but if a cast
> to double won't actually get you where you want and a cast to interval
> will... Maybe it's possible to account for all those cases with just a
> boolean... maybe not.

I wondered about this, too.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: "Colin 't Hart"
Date:
Subject: Re: psql built from git still reports 9.3devel
Next
From: Peter Eisentraut
Date:
Subject: Re: Commitfest II CLosed