From: | Craig Ringer <ringerc(at)ringerc(dot)id(dot)au> |
---|---|
To: | MOHSEN MOMENI <momenimohsen(at)gmail(dot)com> |
Cc: | Pg Bugs <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: HElp |
Date: | 2011-11-11 00:23:22 |
Message-ID: | 4EBC6AFA.5000301@ringerc.id.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-11-11 00:30:32 | Re: BUG #6288: Is ALTER ROLE set client_encoding broken in 9.1? |
Previous Message | Maxim Boguk | 2011-11-10 23:17:05 | Re: BUG #6288: Is ALTER ROLE set client_encoding broken in 9.1? |