提交 030bf377 编写于 作者: V Vlad Ilyushchenko

PG: tests for edge cases and protocol violation in Parse message. Support for...

PG: tests for edge cases and protocol violation in Parse message. Support for Text values in numeric parameters.
上级 1a633e81
......@@ -57,4 +57,24 @@ public class DefaultWireParserConfiguration implements WireParserConfiguration {
// BLOBs must fit inside send buffer together with other column values
return 512 * 1024;
}
@Override
public int getCharacterStoreCapacity() {
return 4096;
}
@Override
public int getCharacterStorePoolCapacity() {
return 64;
}
@Override
public int getFactoryCacheColumnCount() {
return 16;
}
@Override
public int getFactoryCacheRowCount() {
return 16;
}
}
......@@ -26,10 +26,18 @@ package com.questdb.cutlass.pgwire;
import com.questdb.network.NetworkFacade;
public interface WireParserConfiguration {
int getCharacterStoreCapacity();
int getCharacterStorePoolCapacity();
default boolean getDumpNetworkTraffic() {
return false;
}
int getFactoryCacheColumnCount();
int getFactoryCacheRowCount();
int getIdleRecvCountBeforeGivingUp();
NetworkFacade getNetworkFacade();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册