Re: Absolute value of intervals - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Absolute value of intervals
Date
Msg-id 20091030143926.GC4003@alvh.no-ip.org
Whole thread Raw
In response to Re: Absolute value of intervals  (Sam Mason <sam@samason.me.uk>)
Responses Re: Absolute value of intervals
List pgsql-general
Sam Mason wrote:

> + Datum
> + interval_abs(PG_FUNCTION_ARGS)
> + {
> +     Interval   *interval1 = PG_GETARG_INTERVAL_P(0);
> +     Interval   *interval2 = PG_GETARG_INTERVAL_P(1);

Surely it must receive a single argument?


--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-general by date:

Previous
From: Vick Khera
Date:
Subject: Re: checkpoints/bgwriter tuning verification
Next
From: Sam Mason
Date:
Subject: Re: Absolute value of intervals