From: Sebastian P. Luque <spluque@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: custom average window function failure
Date: Sun, 09 Oct 2016 10:01:04 -0500
Message-ID: <87pon9va6n.fsf@otaria.sebmel.org> (raw)
References: <87int2qkat.fsf@gmail.com>
<ff476cf9-beaf-991d-b2ef-cc3aab6d5ac8@aklaver.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
On Sun, 9 Oct 2016 06:44:10 -0700,
Adrian Klaver <adrian.klaver@aklaver.com> wrote:
[...]
> Not sure. When I tried using the above(on 9.5) it failed during the
> CREATE OR REPLACE FUNCTION public.angle_vectors_avg stage with:
> ERROR: type "vector" does not exist
> So where is that coming from in your setup?
Aw nuts, I forgot to include that type definition. Here it is:
CREATE TYPE public.vector AS
(angle double precision,
magnitude double precision);
COMMENT ON TYPE public.vector
IS 'This type holds the basic descriptors of a vector; namely, angle and magnitude.';
--
Seb
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: spluque@gmail.com
Subject: Re: custom average window function failure
In-Reply-To: <87pon9va6n.fsf@otaria.sebmel.org>
References: <87int2qkat.fsf@gmail.com> <ff476cf9-beaf-991d-b2ef-cc3aab6d5ac8@aklaver.com> <87pon9va6n.fsf@otaria.sebmel.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox