0

I'm using a JDBC driver to connect to a Postgres instance. During initialization, I'd like to load a full sql file. In place of INSERT INTO Table(c1, c2) VALUES (v11, v12), (v21,v22)is it possible to directly load the file using something similar to a \i file.sql? \i file.sql itself doesn't succeed.

a_horse_with_no_name
  • 497,550
  • 91
  • 775
  • 843
0fnt
  • 7,682
  • 9
  • 44
  • 61

0 Answers0