Ning Sun

Results 315 comments of Ning Sun

At Greptime we haven't supported postgres COPY protocol. We do have copy statement but it's designed to tell GreptimeDB to load from or dump to s3/file system. So the actual...

I think the stream doesn't need to carry information about file. It's just plain row data and the receiver will need to find out how to store the data. The...

After checking docs again, I'm going to design the server APIs for copy as: ```rust /// handler for copy messages #[async_trait] pub trait CopyHandler { async fn on_copy_in(&self, client: &mut...

The copy support is just merged.

I have been working on this by changing `encode` method to accept a `AsyncWriteExt`. However, I quickly realized that it may introduces a a lot more system calls by using...

hello @LjPalle , while it's possible to completely customize `on_query` of `SimpleQueryHandler` for that, I agree we can have built-in support for transaction feature on wire protocol. My proposal is...

Thank you @LjPalle For tag inclusion, I think it's totally OK to put a name into `QueryResponse`. Could you please make a pull request for that? For transaction state, the...

My idea is we only allow user to update it via return value of `do_query`

@syedzayyan At the moment, we haven't cover transaction state in this library. You might be able to track it with a custom field in `ClientInfo::metadata()`. For users who has a...

hi @samuelcolvin , thank you for reporting. I just reproduced this issue from my local environment. It's because pgcli sends sql query `SELECT * FROM current_schemas(true)` on startup to get...