79341472

Date: 2025-01-09 05:45:57
Score: 1
Natty:
Report link

If you use the grep command with the -v option, you can omit the lines you don't want in the output file. For example, the following command will exclude the CREATE ROLE lines from the output.

pg_dumpall -h (host) -U (username) | grep -v "CREATE ROLE" > roles_filtered.sql
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nagulan