mirror of
https://github.com/postgres/postgres.git
synced 2025-10-16 17:07:43 +03:00
Remove -k unix socketpath option from client side, allow hostname with
leading slash to behave as a unix socket path.
This commit is contained in:
@@ -131,9 +131,8 @@ void RestoreArchive(Archive* AHX, RestoreOptions *ropt)
|
||||
if (AH->version < K_VERS_1_3)
|
||||
die_horribly(AH, "Direct database connections are not supported in pre-1.3 archives");
|
||||
|
||||
ConnectDatabase(AHX, ropt->dbname, ropt->pghost, ropt->pgport,
|
||||
ropt->pgunixsocket, ropt->requirePassword,
|
||||
ropt->ignoreVersion);
|
||||
ConnectDatabase(AHX, ropt->dbname, ropt->pghost, ropt->pgport,
|
||||
ropt->requirePassword, ropt->ignoreVersion);
|
||||
|
||||
/*
|
||||
* If no superuser was specified then see if the current user will do...
|
||||
|
Reference in New Issue
Block a user