RE: Have pg_basebackup write "dbname" in "primary_conninfo"? - Mailing list pgsql-hackers

From Hayato Kuroda (Fujitsu)
Subject RE: Have pg_basebackup write "dbname" in "primary_conninfo"?
Date
Msg-id TYCPR01MB12077B83C2A6D8DC11D19B556F5592@TYCPR01MB12077.jpnprd01.prod.outlook.com
Whole thread Raw
In response to Re: Have pg_basebackup write "dbname" in "primary_conninfo"?  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
Dear Amit,

> When dbname is NULL or not given, it defaults to username. This
> follows the specs of the connection string. See (dbname #
> The database name. Defaults to be the same as the user name...) [1].
> Your patch breaks that specs, so I don't think it is correct.

I have proposed the point because I thought pg_basebackup basically wanted to do
a physical replication. But if the general libpq rule is stronger than it, we
should not apply my add_NULL_check.txt. Let's forget it.

Best Regards,
Hayato Kuroda
FUJITSU LIMITED
https://www.fujitsu.com/ 


pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Potential issue in ecpg-informix decimal converting functions
Next
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: Have pg_basebackup write "dbname" in "primary_conninfo"?