Skip to content

Instantly share code, notes, and snippets.

@JakeTheCorn
Created June 9, 2020 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JakeTheCorn/fa17151009ba991e03f81c194ceefcc0 to your computer and use it in GitHub Desktop.
Save JakeTheCorn/fa17151009ba991e03f81c194ceefcc0 to your computer and use it in GitHub Desktop.
Join strings with newline character in postgres.
select concat_ws(E'\n', 'name=bob', 'age=45')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment