From: | Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp> |
---|---|
To: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Adjust errorcode in background worker code |
Date: | 2015-06-29 02:43:41 |
Message-ID: | 5590B0DD.3020601@lab.ntt.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2015-06-29 AM 11:36, Amit Langote wrote:
> Hi,
>
> How about the attached that adjusts errorcode for the error related to
> checking the flag bgw_flags in BackgroundWorkerInitializeConnection*()
> functions so that it matches the treatment in SanityCheckBackgroundWorker()?
>
> s/ERRCODE_PROGRAM_LIMIT_EXCEEDED/ERRCODE_INVALID_PARAMETER_VALUE/g
>
> There is already a "/* XXX is this the right errcode? */" there.
>
Oops, a wrong thing got attached.
Please find correct one attached this time.
Thanks,
Amit
Attachment | Content-Type | Size |
---|---|---|
adjust-errcode-bgw-init-conn.patch | text/x-diff | 1.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2015-06-29 03:17:13 | Re: proposal: condition blocks in psql |
Previous Message | Amit Langote | 2015-06-29 02:36:51 | Adjust errorcode in background worker code |