pg_gather icon indicating copy to clipboard operation
pg_gather copied to clipboard

Improvement : Eleminate Sed utility from the requirement for data import

Open jobinau opened this issue 3 years ago • 2 comments

There were historical reasons why Unix/Linux Sed is used for cleaning up the data collected before importing it. Many of those cases are gone over a period of time with multiple revisions. Now, conceptually it is possible to have collected data clean enough for importing. So the use of Sed utility can be eliminated.

jobinau avatar Jan 14 '22 05:01 jobinau

This is addressed in the commit : https://github.com/jobinau/pg_gather/commit/331590b7d0845f9148f41a1ff6527b5f93a5d053 Testing in progress. Possibly update the documentation later based on test feedbacks.

jobinau avatar Jan 14 '22 06:01 jobinau

A simple psql -X -f gather_schema.sql -f out.txt should work now. basic units tests show successful results

jobinau avatar Jan 14 '22 06:01 jobinau