Re: BUG #16722: PG hanging on COPY when table has close to 2^32 toasts in the table.
Fujii Masao <masao.fujii@oss.nttdata.com>
From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: tomohiro hiramitsu <hiramit.tm@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Kyotaro Horiguchi
<horikyota.ntt@gmail.com>, Kasahara Tatsuhito
<kasahara.tatsuhito@gmail.com>, Magnus Hagander <magnus@hagander.net>,
Andres Freund <andres@anarazel.de>, skoposov@ed.ac.uk,
PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2021-03-22T10:53:56Z
Lists: pgsql-bugs
Attachments
- v7-0001-GetNewOidWithIndex_log_output.patch (text/plain) patch v7-0001
On 2021/03/22 14:43, tomohiro hiramitsu wrote: > Example 2: > GETNEWOID_WARN_MAX_INTERVAL= 128000000 /* (1000000 * 2^7) */ This looks better to me. On 2021/03/22 18:19, tomohiro hiramitsu wrote: > When "LOG" is set, SQL statements can be recorded in the server log even if log_min_error_statement is set to "ERROR"(default). > It would be useful for users to know which SQL statement is retrying to generate OIDs. This makes sense. > In this case, GETNEWOID_WARN_THRESHOLD and GETNEWOID_WARN_MAX_INTERVAL should be renamed to the following names. > > * GETNEWOID_LOG_THRESHOLD > * GETNEWOID_LOG_MAX_INTERVAL Ok, so I updated the patch that way. Patch attached. Barring any objection, I will commit this patch Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Log when GetNewOidWithIndex() fails to find unused OID many times.
- 7fbcee1b2d5f 14.0 landed
-
Add tests for bytea LIKE operator
- eb42110d952f 14.0 cited