Unable to connect to multiple host in postgres : missing = after “host1,” in connection info string
I want to make connection in postgres with this dsn format:
user=username password=password host=host1, host2, host3 port=5432 database=db_aob sslmode=prefer target_session_attrs=read-write
escape single quote to insert in postgres with sql golang package
I have to include in the text to insert a single quote but I can not use double single quote to escape it.
how to insert to postgresql with dynamic values
here is code: