CREATE OR REPLACE AGGREGATE -- NOT!

Поиск
Список
Период
Сортировка
От dandl
Тема CREATE OR REPLACE AGGREGATE -- NOT!
Дата
Msg-id 009601d1a670$28ffb650$7aff22f0$@andl.org
обсуждение исходный текст
Ответы Re: CREATE OR REPLACE AGGREGATE -- NOT!  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general

I was surprised to discover that

·         CREATE OR REPLACE AGGREGATE is not allowed, but

·         CREATE OR REPLACE FUNCTION works just fine

 

Is this an oversight, or is there some reason I missed?

 

Yes, I know I can do:

DROP AGGREGATE IF EXISTS

CREATE AGGREGATE

 

But this triggers a NOTICE. Is there any convenient way to replace a (possibly) existing aggregate function without triggering a NOTICE?

 

Regards

David M Bennett FACS


Andl - A New Database Language - andl.org

 

В списке pgsql-general по дате отправления:

Предыдущее
От: "dandl"
Дата:
Сообщение: Re: Thoughts on "Love Your Database"
Следующее
От: rob stone
Дата:
Сообщение: Re: Debian and Postgres