Re: [GENERAL] Creating a function if it's not there in Postgres

2007-05-18 Thread Joshua D. Drake
Robert James wrote: I use a set of DDL scripts to automatically create the database for an app. I need to create certain functions (from contrib), if they're not there already. If they are there, I don't want to DROP or REPLACE them, since they may be used in certain indexes and triggers. I

[GENERAL] Creating a function if it's not there in Postgres

2007-05-18 Thread Robert James
I use a set of DDL scripts to automatically create the database for an app. I need to create certain functions (from contrib), if they're not there already. If they are there, I don't want to DROP or REPLACE them, since they may be used in certain indexes and triggers. Is there a way to only CR