Re: Schemas: status report, call for developers - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Schemas: status report, call for developers
Date
Msg-id 7518.1020351164@sss.pgh.pa.us
Whole thread Raw
In response to Re: Schemas: status report, call for developers  (Hannu Krosing <hannu@tm.ee>)
Responses Re: Schemas: status report, call for developers  (Hannu Krosing <hannu@tm.ee>)
List pgsql-hackers
Hannu Krosing <hannu@tm.ee> writes:
> Is "PROC array slot number" something internal to postgres ?

Yes.

If we used PID then we'd eventually have 64K (or whatever the range of
PIDs is on your platform) different pg_temp_nnn entries cluttering
pg_namespace.  But we only need MaxBackends different entries at any one
time.  So the correct nnn value is 1..MaxBackends.  BackendId meets the
need perfectly.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Schemas: status report, call for developers
Next
From: Stephan Szabo
Date:
Subject: Re: DROP TABLE hangs because of same table foreign key