Support writing to postgres 'text' values from both strings as well as
[]byte. If the input is already []byte, this will avoid having the
caller convert to string and then back to []byte. Potentially saves some
allocs.