You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pgconn doesn't really have anything to do with those options. It just executes the SQL string and copies the data from the io.Reader to the remote server. There must be some other problem.
I tried for example the following not working
res, err := dbconn.PgConn().CopyFrom(context.Background(), f, "COPY foo FROM STDIN (FORMAT csv HEADER)")
res, err := dbconn.PgConn().CopyFrom(context.Background(), f, "COPY foo FROM STDIN (FORMAT csv) HEADER")
The text was updated successfully, but these errors were encountered: