Use of CREATE OR REPLACE in bloom--1.0.sql

Поиск
Список
Период
Сортировка
Искать

Use of CREATE OR REPLACE in bloom--1.0.sql

От:
Andreas Karlsson <andreas@proxel.se>
Дата:
Вложения:
Hi,

I do not think that extension SQL scripts should be using CREATE OR 
REPLACE FUNCTION like bloom--1.0.sql currently does. I suspect that this 
might just be a typo.

I have attached the tiny patch which fixes this.

Andreas

Re: Use of CREATE OR REPLACE in bloom--1.0.sql

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Andreas Karlsson  writes:
> I do not think that extension SQL scripts should be using CREATE OR 
> REPLACE FUNCTION like bloom--1.0.sql currently does. I suspect that this 
> might just be a typo.

It's definitely a bug.  Grepping around found another instance in
sslinfo, and I also noticed the lack of a standard header on this
script and others.  Pushed, thanks for noticing that!
		regards, tom lane


FAQ