Postgres: Add support for scram sha 256 authentication (#18397)

Allow datasource connection to postgres with password "scram-sha-256" 
authentification.

Fixes #14662
This commit is contained in:
The Rock Guy
2019-08-06 10:01:28 +02:00
committed by Marcus Efraimsson
parent d5e7ef2317
commit cbfdac43d8
16 changed files with 576 additions and 185 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ func (b *writeBuf) int16(n int) {
}
func (b *writeBuf) string(s string) {
b.buf = append(b.buf, (s + "\000")...)
b.buf = append(append(b.buf, s...), '\000')
}
func (b *writeBuf) byte(c byte) {