True if keyword starts at byte i preceded by a keyword boundary. In
addition to valid libpq whitespace separators, ; and & are treated as
conservative boundaries so malformed DSNs cannot leak credentials. Other
punctuation, such as the = in application_name=password=x, is handled by
the fail-closed path.
True if s, ignoring leading whitespace, begins with a valid URI scheme
followed by :// (scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )).
Leading whitespace (including Unicode, e.g. U+2003) does not stop a value from
being a URI, so it is trimmed first; a bare contains("://") would instead
misfire on a :// inside a keyword value.
Redacts password values in a keyword string. A standalone, case-insensitive
password assignment outside a recognized keyword boundary causes the whole
string to be redacted, since another optionβs value may otherwise retain it.
Keys are separated by Unicode whitespace; a value is single/double quoted or
runs to the next unescaped whitespace, with \ escaping the next character.