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

From Tom Lane
Subject Re: [PATCH] pg_sleep(interval)
Date
Msg-id 17235.1376698508@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH] pg_sleep(interval)  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
> Why not just call it pg_sleep_int()?

To me, that looks like something that would take an int.  I suppose you
could call it pg_sleep_interval(), but that's getting pretty verbose.

The larger picture here though is that that's ugly as sin; it just flies
in the face of the fact that PG *does* have function overloading and we
do normally use it, not invent randomly-different function names to avoid
using it.  We should either decide that this feature is worth the small
risk of breakage, or reject it.  Not build a camel-designed-by-committee
because no one would speak up for consistency of design.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: [PATCH] pg_sleep(interval)
Next
From: Josh Berkus
Date:
Subject: Re: [PATCH] pg_sleep(interval)