Markus Schiltknecht wrote: > Whoops, sorry, there was another reason for the segfault. Using > MyProc->databaseId works. Is it the right way to do it, though? I'd use MyDatabaseId ... -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support