You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both were registered (DefineCustomIntVariable) and documented, but
init.conf.close/init.work.close were never read anywhere - no C
accessor, no current_setting('pg_conf.close'/'pg_work.close') in any
generated SQL. Audited every other registered GUC the same way (C
accessor or current_setting() reference) and confirmed nothing else
in the set is similarly unused. Setting either had always been a
silent no-op; removing them is a one-time cosmetic break for anyone
who had them in a config file (they'll get "unrecognized
configuration parameter" on upgrade) in exchange for not documenting
and shipping controls that do nothing.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
| pg_task.max | int | 0 | config, database, user, session | Maximum count of concurrently executing tasks in group, negative value means pause between tasks in milliseconds |
38
37
| pg_task.run | int | 2147483647 | config, database, user, session | Maximum count of concurrently executing tasks in work |
39
38
| pg_task.sleep | int | 1000 | config, database, user | Check tasks every sleep milliseconds |
40
-
| pg_work.close | int | 60 * 1000 | config, database, superuser | Close work, milliseconds |
41
39
| pg_work.fetch | int | 100 | config, database, superuser | Fetch work rows at once |
42
40
| pg_work.idle | int | 60 | config, database, user | Idle work count |
43
41
| pg_work.restart | int | 60 | config, database, superuser | Restart work interval, seconds |
DefineCustomIntVariable("pg_task.max", "pg_task max", "Maximum count of concurrently executing tasks in group, negative value means pause between tasks in milliseconds", &init.task.max, 0, INT_MIN, INT_MAX, PGC_USERSET, 0, NULL, NULL, NULL);
229
226
DefineCustomIntVariable("pg_task.run", "pg_task run", "Maximum count of concurrently executing tasks in work", &init.task.run, INT_MAX, 1, INT_MAX, PGC_USERSET, 0, NULL, NULL, NULL);
0 commit comments