functions and creating - Mailing list pgsql-novice

From Alex du Plessis
Subject functions and creating
Date
Msg-id 44D24992.2070400@telkomsa.net
Whole thread Raw
Responses Re: functions and creating  (Michael Fuhr <mike@fuhr.org>)
List pgsql-novice
Hi List,

I need to create new databases on demand from my app.  Due to system
constraints I cannot create the database from the app itself and was
thinking of using a pl/psql function within the master database to
perform this duty.

However, it seems I cannot supply the name of the new database to the
function via a function parameter.  Is there a way to do this and am
just being ignorant?.  Does anybody know how to get around this one?

Thnx

Alex

pgsql-novice by date:

Previous
From: "Andrej Ricnik-Bay"
Date:
Subject: Re: The old pl/pgsql editor question back again
Next
From: "Nikolay Samokhvalov"
Date:
Subject: Re: The old pl/pgsql editor question back again