【问题标题】:could not init postgres with a dump filecould not init postgres with a dump file
【发布时间】:2022-12-02 12:50:01
【问题描述】:

just starting testcontainers. I love the idea. thanks for investing in this project.

I am trying to create a simple postgres 14.5 container (and susceeded) and now I am trying to populate it using the .withInitScript() method.

the file I am feeding into the init method is a dump I created with pg_dumpall.

testcontainers fails for many parsing/validation reasons. each time I delete a portion and another reason pops up.

should I be able to succesfully use the withInitScript with pg_dump files?

BTW, using pg_dump for my main DB also has many similar issues.

thanks!

  • what do you mean by BTW, using pg_dump for my main DB also has many similar issues.?

标签: testcontainers


【解决方案1】:
猜你喜欢
  • 2021-06-01
  • 2017-07-11
  • 1970-01-01
  • 2022-06-21
  • 1970-01-01
  • 2019-12-10
  • 2019-12-18
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多