Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a function to create a utf8 database template in postgres #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stevenday
Copy link

For Alaveteli's install script initially, probably useful in others.

@stevenday stevenday force-pushed the create-utf8-template branch from da77fb2 to a9f5d1b Compare August 14, 2015 11:22
@stevenday
Copy link
Author

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.

@garethrees
Copy link
Member

@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.

@garethrees
Copy link
Member

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.

@garethrees
Copy link
Member

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).

@dracos
Copy link
Member

dracos commented Aug 20, 2015

FWIW, I just added a call to create_postgres_template_utf8 to site-specific.sh and it ran okay (to there at least, then I quit out).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants