-
I'm using the db client to write a string directly into a text field in a local psql db.
This works fine, except when the string is too long. In this case 6.5 million characters, it hangs seemingly indefinitely. This is odd because when I use the pqxx psql library, it has no trouble writing strings of that length. Is there something I'm missing here? Additional Context: I've found that the issue pops up when the Update: It seems that the 393,216 characters is a hard cap for the the character count of knowledge here. (393,266) characters in the whole query. Here is a demo project that demonstrates this issue: Fixed in: #1599 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I think I've more or less confirmed that this has nothing to with Drogon and the problem lies elsewhere likely with my psql server configuration. If anyone has any ideas on it could be, any advice would be appreciated, but I'll close this discussion for now since it's technically off topic. |
Beta Was this translation helpful? Give feedback.
-
Would you please make a demo project that can reproduce this issue? I'll figure it out. |
Beta Was this translation helpful? Give feedback.
https://github.com/Ayman250/drogondbtest
Look at InsertCtrl.cc. Increasing knowledge_param_length results in a hung query for me.
Let me know if more is needed.