get_database_name() from background worker

From: Koichi Suzuki <koichi(at)2ndquadrant(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: get_database_name() from background worker
Date: 2019-12-11 06:38:03
Message-ID: CABWPsHFFZ433pSuGJ0kwh2Dp-Y4iTLrv2BqOPeAfDdmyZ-hJLw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message tsunakawa.takay@fujitsu.com 2019-12-11 07:21:29 RE: get_database_name() from background worker
Previous Message Laurenz Albe 2019-12-11 06:23:51 Re: On disable_cost