I have two scripts that watch a directory (postgres warm-standby)
one script copies compressed files into the directory and then uncompresses them.
the other script watches for the uncompressed files and then ingests them into postgres.
Im wondering if i could his a case where the ingestor script could read teh output of gunzip while it was writing it?
in short: does gunzip
- decompress and then change name
- copy into new name as it uncompresses
- something else