miniredis
miniredis copied to clipboard
COPY command not supported
Thank you for creating miniredis!
We use miniredis for unit tests and noticed that _, err := conn.Do("COPY", from[i], to[i]) leads to the followig error
ERR unknown command `COPY`, with args beginning with …
It seems that COPY is not supported, yet.
On Fri, Jan 07, 2022 at 12:27:59AM -0800, Michael Schieben wrote:
Thank you for creating miniredis!
We use miniredis for unit tests and noticed that
_, err := conn.Do("COPY", from[i], to[i])leads to the followig errorERR unknown command `COPY`, with args beginning with …It seems that COPY is not supported, yet.
Hi, thank you for creating an issue. Good catch. I see it's introduced in:
Available since 6.2.0
but it looks straightforward to add and I'll have a look soonish. Of course, PRs are also accepted :)
Hi, I merged @matiasinsaurralde 's PR into master. I'll make it a proper release in a week or so.
@alicebob thank you for your prompt responses and once again, thanks @matiasinsaurralde