Created
September 15, 2023 10:20
-
-
Save jbdesbas/4ab12859895df47636dad151b832fab2 to your computer and use it in GitHub Desktop.
psql copy json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\copy mytable from 'fichier.json' WITH csv quote e'\x01' delimiter e'\x02' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://adpgtech.blogspot.com/2014/09/importing-json-data.html?m=1