copy from stdin WIP

This commit is contained in:
SPRINX0\prochazka
2024-09-26 16:06:54 +02:00
parent a08a8ef208
commit ae599ac6f6
3 changed files with 25 additions and 7 deletions

View File

@@ -124,6 +124,11 @@ const postgresDriverBase = {
getQuerySplitterOptions: usage =>
usage == 'editor'
? { ...postgreSplitterOptions, ignoreComments: true, preventSingleLineSplit: true }
: usage == 'import'
? {
...postgreSplitterOptions,
copyFromStdin: true,
}
: postgreSplitterOptions,
readOnlySessions: true,