crystal
crystal copied to clipboard
I can't get it work with brianc/node-pg-copy-streams with debug info turned on
Summary
I'm not sure if this is in progress or if it is a bug, but somehow I am getting postgraphile error when I am using brianc/node-pg-copy-streams to copy a file to a table using "COPY table FROM STDIN" with the debug info on (you can find the detail in the gist but basically I appended the DEBUG flag in front of the command to set the env var.
The error is https://gist.github.com/pencilcheck/dea9edc251ef919395ab816524dfb723
Something with file stream I guess from STDIN. I'm not sure about the detail but this is frustrating because I can do this by taking out postgraphile but the moment I turn postgraphile on this error occurs.
---- edit ------
I narrow down to this DEBUG=postgraphile*
. It sucks that I can't see debug info while using node-pg-copy-streams.
Additional context
PR welcome; the issue likely exists in https://github.com/graphile/postgraphile/blob/af39c3dcea40646c9217785fa93a9601612c2b83/src/postgraphile/withPostGraphileContext.ts#L466
[semi-automated message] Hi, there has been no activity in this issue for a while so I'm closing it to keep the issues/pull requests manageable. If you're interested in taking on this issue, please comment so I can assign you.