agora inbox for pgsql-hackers@postgresql.orghelp / color / mirror / Atom feed
[PATCH 7/7] tmp: run tap tests first 8+ messages / 2 participants [nested] [flat]
* [PATCH 7/7] tmp: run tap tests first @ 2022-02-25 20:33 Justin Pryzby <pryzbyj@telsasoft.com> 0 siblings, 0 replies; 8+ messages in thread From: Justin Pryzby @ 2022-02-25 20:33 UTC (permalink / raw) ci-os-only: windows --- .cirrus.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index ded4c7d27f..9152cc4b90 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -402,6 +402,9 @@ task: # Installation on windows currently only completely works from src/tools/msvc - cd src/tools/msvc && perl install.pl %CIRRUS_WORKING_DIR%/tmp_install + test_tap_script: | + %T_C% perl src/tools/msvc/vcregress.pl alltaptests + test_regress_parallel_script: | %T_C% perl src/tools/msvc/vcregress.pl check parallel startcreate_script: | @@ -423,8 +426,6 @@ task: test_ssl_script: | set with_ssl=openssl %T_C% perl src/tools/msvc/vcregress.pl taptest ./src/test/ssl/ - test_tap_script: | - %T_C% perl src/tools/msvc/vcregress.pl alltaptests test_pg_upgrade_script: | %T_C% perl src/tools/msvc/vcregress.pl upgradecheck test_ecpg_script: | -- 2.17.1 --ibvzjYYg+QDzMCy1-- ^ permalink raw reply [nested|flat] 8+ messages in thread
* [PATCH 12/25] tmp: run tap tests first @ 2022-04-01 04:52 Justin Pryzby <pryzbyj@telsasoft.com> 0 siblings, 0 replies; 8+ messages in thread From: Justin Pryzby @ 2022-04-01 04:52 UTC (permalink / raw) ci-os-only: windows --- .cirrus.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index f19558e67e0..f6763caecc4 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -434,6 +434,11 @@ task: # Installation on windows currently only completely works from src/tools/msvc - cd src/tools/msvc && perl install.pl %CIRRUS_WORKING_DIR%/tmp_install + this_tap_script: | + %T_C% perl src/tools/msvc/vcregress.pl taptest src/interfaces/libpq + test_tap_script: | + %T_C% perl src/tools/msvc/vcregress.pl alltaptests + test_regress_parallel_script: | %T_C% perl src/tools/msvc/vcregress.pl check parallel startcreate_script: | @@ -455,8 +460,6 @@ task: test_ssl_script: | set with_ssl=openssl %T_C% perl src/tools/msvc/vcregress.pl taptest ./src/test/ssl/ - test_tap_script: | - %T_C% perl src/tools/msvc/vcregress.pl alltaptests test_ecpg_script: | rem tries to build additional stuff vcvarsall x64 -- 2.17.1 --IS0zKkzwUGydFO0o Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0013-set-TESTDIR-from-src-test-perl-rather-than-Makefile-.patch" ^ permalink raw reply [nested|flat] 8+ messages in thread
* [PATCH 09/21] tmp: run tap tests first @ 2022-04-01 04:52 Justin Pryzby <pryzbyj@telsasoft.com> 0 siblings, 0 replies; 8+ messages in thread From: Justin Pryzby @ 2022-04-01 04:52 UTC (permalink / raw) ci-os-only: windows --- .cirrus.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index ea1f493923a..ff8b138b9d1 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -416,6 +416,11 @@ task: # Installation on windows currently only completely works from src/tools/msvc - cd src/tools/msvc && perl install.pl %CIRRUS_WORKING_DIR%/tmp_install + this_tap_script: | + %T_C% perl src/tools/msvc/vcregress.pl taptest src/interfaces/libpq + test_tap_script: | + %T_C% perl src/tools/msvc/vcregress.pl alltaptests + test_regress_parallel_script: | %T_C% perl src/tools/msvc/vcregress.pl check parallel startcreate_script: | @@ -437,8 +442,6 @@ task: test_ssl_script: | set with_ssl=openssl %T_C% perl src/tools/msvc/vcregress.pl taptest ./src/test/ssl/ - test_tap_script: | - %T_C% perl src/tools/msvc/vcregress.pl alltaptests test_ecpg_script: | rem tries to build additional stuff vcvarsall x64 -- 2.17.1 --mln0rGgUGuXEqmuI Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0010-vcregress-run-alltaptests-in-parallel.patch" ^ permalink raw reply [nested|flat] 8+ messages in thread
* [PATCH 09/21] tmp: run tap tests first @ 2022-04-01 04:52 Justin Pryzby <pryzbyj@telsasoft.com> 0 siblings, 0 replies; 8+ messages in thread From: Justin Pryzby @ 2022-04-01 04:52 UTC (permalink / raw) ci-os-only: windows --- .cirrus.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index ea1f493923a..ff8b138b9d1 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -416,6 +416,11 @@ task: # Installation on windows currently only completely works from src/tools/msvc - cd src/tools/msvc && perl install.pl %CIRRUS_WORKING_DIR%/tmp_install + this_tap_script: | + %T_C% perl src/tools/msvc/vcregress.pl taptest src/interfaces/libpq + test_tap_script: | + %T_C% perl src/tools/msvc/vcregress.pl alltaptests + test_regress_parallel_script: | %T_C% perl src/tools/msvc/vcregress.pl check parallel startcreate_script: | @@ -437,8 +442,6 @@ task: test_ssl_script: | set with_ssl=openssl %T_C% perl src/tools/msvc/vcregress.pl taptest ./src/test/ssl/ - test_tap_script: | - %T_C% perl src/tools/msvc/vcregress.pl alltaptests test_ecpg_script: | rem tries to build additional stuff vcvarsall x64 -- 2.17.1 --STPqjqpCrtky8aYs Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0010-vcregress-run-alltaptests-in-parallel.patch" ^ permalink raw reply [nested|flat] 8+ messages in thread
* [PATCH 09/19] tmp: run tap tests first @ 2022-04-01 04:52 Justin Pryzby <pryzbyj@telsasoft.com> 0 siblings, 0 replies; 8+ messages in thread From: Justin Pryzby @ 2022-04-01 04:52 UTC (permalink / raw) ci-os-only: windows --- .cirrus.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index ea1f493923a..ff8b138b9d1 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -416,6 +416,11 @@ task: # Installation on windows currently only completely works from src/tools/msvc - cd src/tools/msvc && perl install.pl %CIRRUS_WORKING_DIR%/tmp_install + this_tap_script: | + %T_C% perl src/tools/msvc/vcregress.pl taptest src/interfaces/libpq + test_tap_script: | + %T_C% perl src/tools/msvc/vcregress.pl alltaptests + test_regress_parallel_script: | %T_C% perl src/tools/msvc/vcregress.pl check parallel startcreate_script: | @@ -437,8 +442,6 @@ task: test_ssl_script: | set with_ssl=openssl %T_C% perl src/tools/msvc/vcregress.pl taptest ./src/test/ssl/ - test_tap_script: | - %T_C% perl src/tools/msvc/vcregress.pl alltaptests test_ecpg_script: | rem tries to build additional stuff vcvarsall x64 -- 2.17.1 --Sw7tCqrGA+HQ0/zt Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0010-vcregress-run-alltaptests-in-parallel.patch" ^ permalink raw reply [nested|flat] 8+ messages in thread
* [PATCH 09/19] tmp: run tap tests first @ 2022-04-01 04:52 Justin Pryzby <pryzbyj@telsasoft.com> 0 siblings, 0 replies; 8+ messages in thread From: Justin Pryzby @ 2022-04-01 04:52 UTC (permalink / raw) ci-os-only: windows --- .cirrus.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index ea1f493923a..ff8b138b9d1 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -416,6 +416,11 @@ task: # Installation on windows currently only completely works from src/tools/msvc - cd src/tools/msvc && perl install.pl %CIRRUS_WORKING_DIR%/tmp_install + this_tap_script: | + %T_C% perl src/tools/msvc/vcregress.pl taptest src/interfaces/libpq + test_tap_script: | + %T_C% perl src/tools/msvc/vcregress.pl alltaptests + test_regress_parallel_script: | %T_C% perl src/tools/msvc/vcregress.pl check parallel startcreate_script: | @@ -437,8 +442,6 @@ task: test_ssl_script: | set with_ssl=openssl %T_C% perl src/tools/msvc/vcregress.pl taptest ./src/test/ssl/ - test_tap_script: | - %T_C% perl src/tools/msvc/vcregress.pl alltaptests test_ecpg_script: | rem tries to build additional stuff vcvarsall x64 -- 2.17.1 --Sw7tCqrGA+HQ0/zt Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0010-vcregress-run-alltaptests-in-parallel.patch" ^ permalink raw reply [nested|flat] 8+ messages in thread
* [PATCH 10/23] tmp: run tap tests first @ 2022-04-01 04:52 Justin Pryzby <pryzbyj@telsasoft.com> 0 siblings, 0 replies; 8+ messages in thread From: Justin Pryzby @ 2022-04-01 04:52 UTC (permalink / raw) ci-os-only: windows --- .cirrus.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 7b8ce6eadc3..a1541db2bc8 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -440,6 +440,11 @@ task: # Installation on windows currently only completely works from src/tools/msvc - cd src/tools/msvc && perl install.pl %CIRRUS_WORKING_DIR%/tmp_install + this_tap_script: | + %T_C% perl src/tools/msvc/vcregress.pl taptest src/interfaces/libpq + test_tap_script: | + %T_C% perl src/tools/msvc/vcregress.pl alltaptests + test_regress_parallel_script: | %T_C% perl src/tools/msvc/vcregress.pl check parallel startcreate_script: | @@ -461,8 +466,6 @@ task: test_ssl_script: | set with_ssl=openssl %T_C% perl src/tools/msvc/vcregress.pl taptest ./src/test/ssl/ - test_tap_script: | - %T_C% perl src/tools/msvc/vcregress.pl alltaptests test_ecpg_script: | rem tries to build additional stuff vcvarsall x64 -- 2.17.1 --tKkaNMvYmhQvRCRK Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0011-set-TESTDIR-from-src-test-perl-rather-than-Makefile-.patch" ^ permalink raw reply [nested|flat] 8+ messages in thread
* [PATCH v7 3/3] Fixup: assign backend type earlier @ 2025-12-09 08:53 Álvaro Herrera <alvherre@kurilemu.de> 0 siblings, 0 replies; 8+ messages in thread From: Álvaro Herrera @ 2025-12-09 08:53 UTC (permalink / raw) --- src/backend/postmaster/launch_backend.c | 3 +++ src/backend/utils/error/elog.c | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/backend/postmaster/launch_backend.c b/src/backend/postmaster/launch_backend.c index 35420b8c9fb..96624e08b5a 100644 --- a/src/backend/postmaster/launch_backend.c +++ b/src/backend/postmaster/launch_backend.c @@ -588,6 +588,8 @@ SubPostmasterMain(int argc, char *argv[]) IsPostmasterEnvironment = true; whereToSendOutput = DestNone; + MyBackendType = B_BACKEND; + /* * Capture the end of process creation for logging. We don't include the * time spent copying data from shared memory and setting up the backend. @@ -611,6 +613,7 @@ SubPostmasterMain(int argc, char *argv[]) if (strcmp(child_process_kinds[idx].name, child_kind) == 0) { child_type = (BackendType) idx; + MyBackendType = child_type; found = true; break; } diff --git a/src/backend/utils/error/elog.c b/src/backend/utils/error/elog.c index 15d771a16c9..d7f4a44c5a7 100644 --- a/src/backend/utils/error/elog.c +++ b/src/backend/utils/error/elog.c @@ -2779,7 +2779,12 @@ get_backend_type_for_log(void) if (MyProcPid == PostmasterPid) backend_type_str = "postmaster"; else if (MyBackendType == B_BG_WORKER) - backend_type_str = MyBgworkerEntry->bgw_type; + { + if (MyBgworkerEntry && MyBgworkerEntry->bgw_type[0] != '\0') + backend_type_str = MyBgworkerEntry->bgw_type; + else + backend_type_str = "early bgworker"; + } else backend_type_str = GetBackendTypeDesc(MyBackendType); -- 2.47.3 --grg2fqqi6tkdt5me-- ^ permalink raw reply [nested|flat] 8+ messages in thread
end of thread, other threads:[~2025-12-09 08:53 UTC | newest] Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2022-02-25 20:33 [PATCH 7/7] tmp: run tap tests first Justin Pryzby <pryzbyj@telsasoft.com> 2022-04-01 04:52 [PATCH 12/25] tmp: run tap tests first Justin Pryzby <pryzbyj@telsasoft.com> 2022-04-01 04:52 [PATCH 09/21] tmp: run tap tests first Justin Pryzby <pryzbyj@telsasoft.com> 2022-04-01 04:52 [PATCH 09/21] tmp: run tap tests first Justin Pryzby <pryzbyj@telsasoft.com> 2022-04-01 04:52 [PATCH 09/19] tmp: run tap tests first Justin Pryzby <pryzbyj@telsasoft.com> 2022-04-01 04:52 [PATCH 09/19] tmp: run tap tests first Justin Pryzby <pryzbyj@telsasoft.com> 2022-04-01 04:52 [PATCH 10/23] tmp: run tap tests first Justin Pryzby <pryzbyj@telsasoft.com> 2025-12-09 08:53 [PATCH v7 3/3] Fixup: assign backend type earlier Álvaro Herrera <alvherre@kurilemu.de>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox