Re: "backend process" confused with "server process"

2024-04-15 Thread jian he
On Mon, Apr 15, 2024 at 5:27 PM Daniel Gustafsson wrote: > > > On 15 Apr 2024, at 11:07, Andrey M. Borodin wrote: > >> On 15 Apr 2024, at 14:01, jian he wrote: > > >> "is not a PostgreSQL server process" is the same thing as "not a > >> PostgreSQL backend process”? > > > > As far as I understand

Re: "backend process" confused with "server process"

2024-04-15 Thread Daniel Gustafsson
> On 15 Apr 2024, at 11:07, Andrey M. Borodin wrote: >> On 15 Apr 2024, at 14:01, jian he wrote: >> "is not a PostgreSQL server process" is the same thing as "not a >> PostgreSQL backend process”? > > As far as I understand, backend is something attached to frontend. > There might be infrastruc

Re: "backend process" confused with "server process"

2024-04-15 Thread Andrey M. Borodin
> On 15 Apr 2024, at 14:01, jian he wrote: > > "is not a PostgreSQL server process" is the same thing as "not a > PostgreSQL backend process”? As far as I understand, backend is something attached to frontend. There might be infrastructure processes like syslogger or stats collector, client

"backend process" confused with "server process"

2024-04-15 Thread jian he
hi. pg_log_backend_memory_contexts we have ` if (proc == NULL) { /* * This is just a warning so a loop-through-resultset will not abort * if one backend terminated on its own during the run. */ ereport(WARNING, (errmsg("PID %d is not a PostgreSQL server process", pid))); PG_RETURN_BOOL(false); } `