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

2016-06-14 Thread Tom Lane
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

[HACKERS] Use of CREATE OR REPLACE in bloom--1.0.sql

2016-06-14 Thread Andreas Karlsson
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 diff --git a/contrib/bloom/bloom--1.0.sql