Re: when the startup process doesn't (logging startup delays)
От
Nitin Jadhav
Тема
Re: when the startup process doesn't (logging startup delays)
Дата
Msg-id
CAMm1aWadG_xgncYxFt-GAqRXWL2WE-5bu3qdJtW6CYEwhw7QbQ@mail.gmail.com
Ответ на
Re: when the startup process doesn't (logging startup delays) (Justin Pryzby)
Список
Дерево обсуждения
when the startup process doesn't Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: when the startup process doesn't Bruce Momjian <bruce@momjian.us>
Re: when the startup process doesn't Andres Freund <andres@anarazel.de>
Re: when the startup process doesn't Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: when the startup process doesn't Thomas Munro <thomas.munro@gmail.com>
Re: when the startup process doesn't Tom Lane <tgl@sss.pgh.pa.us>
Re: when the startup process doesn't Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't Magnus Hagander <magnus@hagander.net>
Re: when the startup process doesn't Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
Re: when the startup process doesn't Magnus Hagander <magnus@hagander.net>
Re: when the startup process doesn't Tom Lane <tgl@sss.pgh.pa.us>
Re: when the startup process doesn't Stephen Frost <sfrost@snowman.net>
Re: when the startup process doesn't Tom Lane <tgl@sss.pgh.pa.us>
Re: when the startup process doesn't Stephen Frost <sfrost@snowman.net>
Re: when the startup process doesn't Andres Freund <andres@anarazel.de>
Re: when the startup process doesn't Stephen Frost <sfrost@snowman.net>
Re: when the startup process doesn't Andres Freund <andres@anarazel.de>
Re: when the startup process doesn't Stephen Frost <sfrost@snowman.net>
Re: when the startup process doesn't Andres Freund <andres@anarazel.de>
Re: when the startup process doesn't Stephen Frost <sfrost@snowman.net>
Re: when the startup process doesn't Andres Freund <andres@anarazel.de>
Re: when the startup process doesn't Tom Lane <tgl@sss.pgh.pa.us>
Re: when the startup process doesn't Andres Freund <andres@anarazel.de>
Re: when the startup process doesn't Stephen Frost <sfrost@snowman.net>
Re: when the startup process doesn't Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
Re: when the startup process doesn't Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't Justin Pryzby <pryzby@telsasoft.com>
Re: when the startup process doesn't Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't Tom Lane <tgl@sss.pgh.pa.us>
Re: when the startup process doesn't Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't Justin Pryzby <pryzby@telsasoft.com>
Re: when the startup process doesn't Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't Justin Pryzby <pryzby@telsasoft.com>
Re: when the startup process doesn't Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Justin Pryzby <pryzby@telsasoft.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Amul Sul <sulamul@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Justin Pryzby <pryzby@telsasoft.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Justin Pryzby <pryzby@telsasoft.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Justin Pryzby <pryzby@telsasoft.com>
Re: when the startup process doesn't (logging startup delays) Justin Pryzby <pryzby@telsasoft.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Justin Pryzby <pryzby@telsasoft.com>
Re: when the startup process doesn't (logging startup delays) Michael Paquier <michael@paquier.xyz>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Justin Pryzby <pryzby@telsasoft.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Justin Pryzby <pryzby@telsasoft.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: when the startup process doesn't (logging startup delays) Justin Pryzby <pryzby@telsasoft.com>
Re: when the startup process doesn't (logging startup delays) Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: when the startup process doesn't (logging startup delays) Tom Lane <tgl@sss.pgh.pa.us>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Tom Lane <tgl@sss.pgh.pa.us>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Tom Lane <tgl@sss.pgh.pa.us>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Thomas Munro <thomas.munro@gmail.com>
Re: when the startup process doesn't (logging startup delays) Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Simon Riggs <simon.riggs@enterprisedb.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Thomas Munro <thomas.munro@gmail.com>
Re: when the startup process doesn't (logging startup delays) Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Tom Lane <tgl@sss.pgh.pa.us>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Tom Lane <tgl@sss.pgh.pa.us>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Tom Lane <tgl@sss.pgh.pa.us>
Re: when the startup process doesn't (logging startup delays) Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Simon Riggs <simon.riggs@enterprisedb.com>
Re: when the startup process doesn't (logging startup delays) Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Simon Riggs <simon.riggs@enterprisedb.com>
Re: when the startup process doesn't (logging startup delays) Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Michael Paquier <michael@paquier.xyz>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Amul Sul <sulamul@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Justin Pryzby <pryzby@telsasoft.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Re: when the startup process doesn't (logging startup delays) Robert Haas <robertmhaas@gmail.com>
Re: when the startup process doesn't (logging startup delays) Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: when the startup process doesn't Tom Lane <tgl@sss.pgh.pa.us>
Re: when the startup process doesn't Magnus Hagander <magnus@hagander.net>
Re: when the startup process doesn't SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com>
> What is DUMMY about ? If you just want to separate the "start" from "end",
> you could write:
>
> /* codes for start of operations */
> FSYNC_IN_PROGRESS
> SYNCFS_IN_PROGRESS
> ...
> /* codes for end of operations */
> FSYNC_END
> SYNCFS_END
> ...
That was by mistake and I have corrected it in the attached patch.
Thanks & Regards,
Nitin Jadhav
On Thu, Jun 17, 2021 at 6:22 PM Justin Pryzby wrote:
>
> + * Codes of the operations performed during startup process
> + */
> +typedef enum StartupProcessOp
> +{
> + SYNCFS_IN_PROGRESS,
> + FSYNC_IN_PROGRESS,
> + RECOVERY_IN_PROGRESS,
> + RESET_UNLOGGED_REL_IN_PROGRESS,
> + DUMMY,
> + SYNCFS_END,
> + FSYNC_END,
> + RECOVERY_END,
> + RESET_UNLOGGED_REL_END
> +} StartupProcessOp;
>
> What is DUMMY about ? If you just want to separate the "start" from "end",
> you could write:
>
> /* codes for start of operations */
> FSYNC_IN_PROGRESS
> SYNCFS_IN_PROGRESS
> ...
> /* codes for end of operations */
> FSYNC_END
> SYNCFS_END
> ...
>
> Or group them together like:
>
> FSYNC_IN_PROGRESS,
> FSYNC_END,
> SYNCFS_IN_PROGRESS,
> SYNCFS_END,
> RECOVERY_IN_PROGRESS,
> RECOVERY_END,
> RESET_UNLOGGED_REL_IN_PROGRESS,
> RESET_UNLOGGED_REL_END,
>
> --
> Justin
В списке pgsql-hackers по дате отправления
От: Amit Kapila
Дата: