forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit83ae824
committed
Remove auth-options support from initdb
When --auth was added to initdb in commite7029b2 it had supportfor auth options separated by space from the auth type, like: --auth pam <servicename> --auth ident sameuserPassing an option to the ident auth type was removed in01c1a12which left the pam auth-options support in place.8a02339 brokethis by inverting a calculation in the strncmp arguments, which wentunnoticed for a long time. The ability to pass options to the authtype was never documented.Rather than fixing the support for an undocumented feature which hasbeen broken for all supported versions, and which only supports oneout of many auth types which can take options, it is removed.Reported-by: Jingxian Li <aqktjcm@qq.com>Reviewed-by: Michael Paquier <michael@paquier.xyz>Reviewed-by: Aleksander Alekseev <aleksander@timescale.com>Discussion:https://postgr.es/m/tencent_29731C7C7E6A2F9FB807C3A1DC3D81293C06@qq.com1 parentb362d14 commit83ae824
1 file changed
+2
-6
lines changedLines changed: 2 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
105 |
| - | |
| 105 | + | |
106 | 106 |
| |
107 | 107 |
| |
108 | 108 |
| |
| |||
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
121 |
| - | |
| 121 | + | |
122 | 122 |
| |
123 | 123 |
| |
124 | 124 |
| |
| |||
2512 | 2512 |
| |
2513 | 2513 |
| |
2514 | 2514 |
| |
2515 |
| - | |
2516 |
| - | |
2517 |
| - | |
2518 |
| - | |
2519 | 2515 |
| |
2520 | 2516 |
| |
2521 | 2517 |
| |
|
0 commit comments
Comments
(0)