From: constzl <const_sunny@126.com>
To: pgsql-bugs@lists.postgresql.org
Subject: ran out of space in relation map
Date: Sat, 24 Aug 2019 11:48:09 +0800 (CST)
Message-ID: <73af4845.12a1.16cc1bd1151.Coremail.const_sunny@126.com> (raw)
Hi All:
Look at the following code.
"The map file should be kept to no more than one standard-size disk sector (ie 512 bytes)"
This means that the number of mapping objects can not be more than MAX_MAPPINGS, which is 62 now.
If one day in the future, it does need to be more than 62, then what to do?
In fact, I had such a problem. After I add some shared catalog relation (and its toast relation,index), the error
"ran out of space in relation map" occurs when initdb.
After debugging, it is found that the number of shared objects is indeed more than 62, and of course, its size is
more than 512 bytes.
Can someone help me? Thanks!
Best Regards
const.zl
Attachments:image.png (image/png, 75.6K) downloadview image
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: const_sunny@126.com
Subject: Re: ran out of space in relation map
In-Reply-To: <73af4845.12a1.16cc1bd1151.Coremail.const_sunny@126.com>
References: <73af4845.12a1.16cc1bd1151.Coremail.const_sunny@126.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox