From: Craig Ringer <ringerc@ringerc.id.au>
To: MOHSEN MOMENI <momenimohsen@gmail.com>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: HElp
Date: Fri, 11 Nov 2011 08:23:22 +0800
Message-ID: <4EBC6AFA.5000301@ringerc.id.au> (raw)
In-Reply-To: <CA++=0QKZ=LKuvGLJnbhoETkCkK3Tvu-OYTfEHLWsE7570CP1Cw@mail.gmail.com>
References: <CA++=0QKZ=LKuvGLJnbhoETkCkK3Tvu-OYTfEHLWsE7570CP1Cw@mail.gmail.com>
Messages with the subject "Help" usually don't get much response. Also,
this is not a bug report. If you have questions or need help, try the
pgsql-general or pgsql-novice mailing lists (as the bug report form
advised you to do) or ask on the EnterpriseDB forums.
Please do not reply to this message. If you want more help, use one of
the places mentioned above.
When you ask for more help in an appropriate place, rather than just
saying "it doesn't work" please copy and paste the ERROR MESSAGES you
get when you run it. See:
http://wiki.postgresql.org/wiki/Guide_to_reporting_problems
PostgreSQL 8.1 is obsolete and unmaintained. You should update.
"CREATE IF NOT EXISTS AGGREGATE" is invalid and does not exist, so you
cannot use it. See the help:
---------------------------------
db=> \h create aggregate
Command: CREATE AGGREGATE
Description: define a new aggregate function
Syntax:
CREATE AGGREGATE name ( input_data_type [ , ... ] ) (
SFUNC = sfunc,
STYPE = state_data_type
[ , FINALFUNC = ffunc ]
[ , INITCOND = initial_condition ]
[ , SORTOP = sort_operator ]
)
or the old syntax
CREATE AGGREGATE name (
BASETYPE = base_type,
SFUNC = sfunc,
STYPE = state_data_type
[ , FINALFUNC = ffunc ]
[ , INITCOND = initial_condition ]
[ , SORTOP = sort_operator ]
)
---------------------------------
--
Craig Ringer
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-bugs@postgresql.org
Cc: ringerc@ringerc.id.au, momenimohsen@gmail.com
Subject: Re: HElp
In-Reply-To: <4EBC6AFA.5000301@ringerc.id.au>
References: <CA++=0QKZ=LKuvGLJnbhoETkCkK3Tvu-OYTfEHLWsE7570CP1Cw@mail.gmail.com> <4EBC6AFA.5000301@ringerc.id.au>
* 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