From: | a(dot)sokolov(at)postgrespro(dot)ru |
---|---|
To: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
Cc: | Andres Freund <andres(at)anarazel(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Greg Nancarrow <gregn4422(at)gmail(dot)com>, Ivan Panchenko <wao(at)mail(dot)ru>, Teodor Sigaev <teodor(at)sigaev(dot)ru>, Ibrar Ahmed <ibrar(dot)ahmad(at)gmail(dot)com>, vignesh C <vignesh21(at)gmail(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> |
Subject: | Re: On login trigger: take three |
Date: | 2022-03-18 07:24:46 |
Message-ID: | 36a32ebce64ad85fd6e07edcdcda09f4@postgrespro.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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(at)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:
--- 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
From | Date | Subject | |
---|---|---|---|
Next Message | Noah Misch | 2022-03-18 07:28:37 | Re: Replication slot drop message is sent after pgstats shutdown. |
Previous Message | Andrey V. Lepikhov | 2022-03-18 07:06:57 | Re: POC: GROUP BY optimization |