I want to run the psql command at ddl file format using shell command . If I face an error like database already exists , I want to skip the errro and run rest of commands. Can anyone please tell me any methos for that?
Just add:
ignore_errors: yes
to your task.
1 Like