Add a function to create a utf8 database template in postgres#42
Add a function to create a utf8 database template in postgres#42
Conversation
da77fb2 to
a9f5d1b
Compare
|
This isn't needed by alaveteli any more, so I'll leave it open to merge if you'd like it, but it's not essential. I also couldn't make it work in alaveteli's site-specific-install.sh as I expected, so there might be some kind non-obvious of bug that I can't see. |
|
@stevenday I'll have a go at using this in the alaveteli install script today* and report back. * might forget – nudge me if I haven't commented here by Friday morning. |
|
I had the same issue. If I paste the function definition directly above where its called it works fine, so I don't think the problem is with what you've written. |
|
Really don't know what's wrong with this. I've tried moving it to different positions in the file, reducing the function body to a simple echo statement, and defining a new simple function (which also can't be found). |
|
FWIW, I just added a call to |
For Alaveteli's install script initially, probably useful in others.