From: a.sokolov@postgrespro.ru
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Greg Nancarrow <gregn4422@gmail.com>
Cc: Ivan Panchenko <wao@mail.ru>
Cc: Teodor Sigaev <teodor@sigaev.ru>
Cc: Ibrar Ahmed <ibrar.ahmad@gmail.com>
Cc: vignesh C <vignesh21@gmail.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: Amit Kapila <amit.kapila16@gmail.com>
Cc: Masahiko Sawada <sawada.mshk@gmail.com>
Subject: Re: On login trigger: take three
Date: Fri, 18 Mar 2022 10:24:46 +0300
Message-ID: <36a32ebce64ad85fd6e07edcdcda09f4@postgrespro.ru> (raw)
In-Reply-To: <D919E528-FA84-4094-9468-E53DB27CF4BB@yesql.se>
References: <CAJcOf-cq9=f_hz9DXKFJBVNGK1C68XsxhKXYZ7PkzGgb=jDh7A@mail.gmail.com>
<CAJcOf-efxjnZ2Wsj_W_=nF8o3t+F9NaG0Ja_af3cV7gMkhdFTQ@mail.gmail.com>
<CAJcOf-cF2_oJtNSBPrb5i+pZnN552ZSLZ2ffoo2nLa6Fb_R6uQ@mail.gmail.com>
<CAJcOf-ei2VTinDPO84w8YdkO-+-g6YLuUUxwBswW6QaFGdjRJQ@mail.gmail.com>
<20220312024652.lvgehszwke4hhove@alap3.anarazel.de>
<E0D5DC61-C490-45BD-A984-E8D56493EC4F@yesql.se>
<20220313233350.mar5ix6cqmgaokta@alap3.anarazel.de>
<81327.1647215828@sss.pgh.pa.us>
<20220314000825.t7yywdubftb5cwl6@alap3.anarazel.de>
<2E4E472A-69F8-4EAC-B337-3341AC2F0188@yesql.se>
<20220314161049.eybdzhwdrcn5s5zc@alap3.anarazel.de>
<D919E528-FA84-4094-9468-E53DB27CF4BB@yesql.se>
Daniel Gustafsson писал 2022-03-15 23:52:
> Yeah, that was the previously posted v25 from the author (who adopted
> it from
> the original author). I took the liberty to quickly poke at the review
> comments you had left as well as the ones that I had found to try and
> progress
> the patch. 0001 should really go in it's own thread though to not hide
> it from
> anyone interested who isn't looking at this thread.
Hi
I got an error while running tests on Windows:
2022-03-17 17:30:02.458 MSK [6920] [unknown] LOG: no match in usermap
"regress" for user "regress_user" authenticated as
"vagrant@WINDOWS-2019"
2022-03-17 17:30:02.458 MSK [6920] [unknown] FATAL: SSPI authentication
failed for user "regress_user"
2022-03-17 17:30:02.458 MSK [6920] [unknown] DETAIL: Connection matched
pg_hba.conf line 2: "host all all 127.0.0.1/32 sspi include_realm=1
map=regress"
2022-03-17 17:30:02.526 MSK [3432] FATAL: could not receive data from
WAL stream: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
I propose to make such correction:
inline patch 1: src/test/recovery/t/001_stream_rep.pl (+1/-1 lines) download inline-1.patch--- a/src/test/recovery/t/001_stream_rep.pl+++ b/src/test/recovery/t/001_stream_rep.pl@@ -14,7 +14,7 @@ my $node_primary = get_new_node('primary');
# and it needs proper authentication configuration.
$node_primary->init(
allows_streaming => 1,
- auth_extra => [ '--create-role', 'repl_role' ]);+ auth_extra => [ '--create-role', 'repl_role,regress_user' ]);
$node_primary->start;
my $backup_name = 'my_backup';
--
Andrey Sokolov
Postgres Professional: http://www.postgrespro.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: a.sokolov@postgrespro.ru, daniel@yesql.se, andres@anarazel.de, tgl@sss.pgh.pa.us, gregn4422@gmail.com, wao@mail.ru, teodor@sigaev.ru, ibrar.ahmad@gmail.com, vignesh21@gmail.com, pavel.stehule@gmail.com, amit.kapila16@gmail.com, sawada.mshk@gmail.com
Subject: Re: On login trigger: take three
In-Reply-To: <36a32ebce64ad85fd6e07edcdcda09f4@postgrespro.ru>
References: <CAJcOf-cq9=f_hz9DXKFJBVNGK1C68XsxhKXYZ7PkzGgb=jDh7A@mail.gmail.com> <CAJcOf-efxjnZ2Wsj_W_=nF8o3t+F9NaG0Ja_af3cV7gMkhdFTQ@mail.gmail.com> <CAJcOf-cF2_oJtNSBPrb5i+pZnN552ZSLZ2ffoo2nLa6Fb_R6uQ@mail.gmail.com> <CAJcOf-ei2VTinDPO84w8YdkO-+-g6YLuUUxwBswW6QaFGdjRJQ@mail.gmail.com> <20220312024652.lvgehszwke4hhove@alap3.anarazel.de> <E0D5DC61-C490-45BD-A984-E8D56493EC4F@yesql.se> <20220313233350.mar5ix6cqmgaokta@alap3.anarazel.de> <81327.1647215828@sss.pgh.pa.us> <20220314000825.t7yywdubftb5cwl6@alap3.anarazel.de> <2E4E472A-69F8-4EAC-B337-3341AC2F0188@yesql.se> <20220314161049.eybdzhwdrcn5s5zc@alap3.anarazel.de> <D919E528-FA84-4094-9468-E53DB27CF4BB@yesql.se> <36a32ebce64ad85fd6e07edcdcda09f4@postgrespro.ru>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox