79258690

Date: 2024-12-06 16:28:58
Score: 1
Natty:
Report link

I was able to work around this by using 'sed' to replace the '0000-00-00 00:00:00' string with NULLs.

\copy tablename from program 'cat /path/to/file | sed "s/0000-00-00 00:00:00//g"' with (format csv, header true);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: gmyran