get_database_name() from background worker - Mailing list pgsql-hackers

From Koichi Suzuki
Subject get_database_name() from background worker
Date
Msg-id CABWPsHFFZ433pSuGJ0kwh2Dp-Y4iTLrv2BqOPeAfDdmyZ-hJLw@mail.gmail.com
Whole thread Raw
Responses RE: get_database_name() from background worker
Re: get_database_name() from background worker
List pgsql-hackers
Hello PG hackers;

I'm writing an extension running on background workers and found get_database_name() causes SEGV and found internally resource owner was wet to NULL.   Could anybody let me know how it happens and how I can use this function.   Argument to get_database_name() looks correct.

Regards;
---
Koichi Suzuki

pgsql-hackers by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: On disable_cost
Next
From: "tsunakawa.takay@fujitsu.com"
Date:
Subject: RE: get_database_name() from background worker