Re: Is it possible to use keywords (date units) in a function definition?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Martin Gainty <mgainty(at)hotmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Is it possible to use keywords (date units) in a function definition?
Date: 2020-06-09 00:16:44
Message-ID: CAKFQuwZRBf-3dKiNF8nDqfgxdcuorUb7+fcMWfrUfCrVKJzbJA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Jun 8, 2020 at 5:06 PM Martin Gainty <mgainty(at)hotmail(dot)com> wrote:

> CREATE OR REPLACE FUNCTION DATETIME_DIFF(end TIMESTAMP(3), start
> TIMESTAMP(3), datepart UNIT) RETURNS DOUBLE PRECISION AS $$
>

Duplicate email from account (same sender) - already answered on the
original/correct thread.

David J.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2020-06-09 00:35:40 Re: 12.2: Why do my Redo Logs disappear??
Previous Message Martin Gainty 2020-06-09 00:06:42 Is it possible to use keywords (date units) in a function definition?