stolon icon indicating copy to clipboard operation
stolon copied to clipboard

Add Socket Dir Management

Open nabbar opened this issue 7 years ago • 5 comments

Hello,

In some case, the /tmp is mount as noexec. The socket can have some trouble to work correctly. So, I have add a little addition to offert the socket location capability.

Indeed, I have extend the auth-method to having different auth method between socket connection and remote connection.

Add Socket Dir Management :

  • add an option flags to specify the socket dir. Default value is the common.PgUnixSocketDirectories. If not specify or cannot access, use the default value;
  • add option for defined the socket authmethod for SU/Repl to allow differt access in socket and in remote;

Regards,

Nicolas.

nabbar avatar Mar 11 '18 15:03 nabbar

@nabbar Thanks for the PR! I'll prefer to split the PR in two. One for setting the socket dir (this one) and a new PR for setting different auth methods for the socket since it takes more time for review the changes and will need some tests.

sgotti avatar Mar 14 '18 08:03 sgotti

I'll prefer to split the PR in two. One for setting the socket dir (this one) and a new PR for setting different auth methods for the socket since it takes more time for review the changes and will need some tests.

Sure, I will prepare this split next WE I think.

nabbar avatar Mar 15 '18 09:03 nabbar

@sgotti apply rebase from master

nabbar avatar May 31 '18 09:05 nabbar

@nabbar any update on getting this merged?

volfco avatar Mar 06 '20 17:03 volfco

@volfco This PR is almost two years old. Feel free to create a new PR to implement this feature if you need it.

sgotti avatar Mar 10 '20 08:03 sgotti