Using sqlc.narg with VSCode auto format via pg_format
November 18th, 2023
sqlc.narg conflicted with VSCode pgFormatter auto formatter, with it being interpreted as a token instead of a function. If you’re using
sqlc.narg while still wanting to use pgFormatter, create a new line delimited file list of
sql.narg. Then set that file’s path under “Extra functions”.