citus/src
Filip Sedlák fc09e1cfdc Log username in the failed connection message (#7432)
This patch includes the username in the reported error message.
This makes debugging easier when certain commands open connections
as other users than the user that is executing the command.

```
monitora_snapshot=# SELECT citus_move_shard_placement(102030, 'monitora.db-dev-worker-a', 6005, 'monitora.db-dev-worker-a', 6017);
ERROR:  connection to the remote node monitora_user@monitora.db-dev-worker-a:6017 failed with the following error: fe_sendauth: no password supplied
Time: 40,198 ms
```

(cherry picked from commit 8b48d6ab02)
2024-04-17 10:26:50 +02:00
..
backend Log username in the failed connection message (#7432) 2024-04-17 10:26:50 +02:00
include Fix crash caused by some form of ALTER TABLE ADD COLUMN statements. (#7522) 2024-04-17 10:26:50 +02:00
test Log username in the failed connection message (#7432) 2024-04-17 10:26:50 +02:00