Giter VIP home page Giter VIP logo

rdbc-pgsql's Issues

Connection validation is broken for closed connections

validate method now returns IllegalSessionStateException if connection is already closed. It should return ConnectionValidationException in this case. It should still return IllegalSessionStateException if connection is in use though

Optimize non-select operations

In non-select operations like non-returning inserts, deletes, updates there are many optimizations available:

  • don't set up a publisher (stream)
  • don't do describe, do parse & bind & execute together
  • something else?

General clean up

Generally clean up all the code, deal with code duplication, too long methods etc.

Investigate spurious test fails - race conditions?

[info] - stochastic_spec103_mustSignalOnMethodsSequentially *** FAILED ***
[info]   java.util.concurrent.TimeoutException: Futures timed out after [10 seconds]
[info]   at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:223)
[info]   at scala.concurrent.impl.Promise$DefaultPromise.result(Promise.scala:227)
[info]   at scala.concurrent.Await$$anonfun$result$1.apply(package.scala:190)
[info]   at scala.concurrent.BlockContext$DefaultBlockContext$.blockOn(BlockContext.scala:53)
[info]   at scala.concurrent.Await$.result(package.scala:190)
[info]   at io.rdbc.test.package$AwaitableOps.get(package.scala:26)
[info]   at io.rdbc.test.RowPublisherVerification.createPublisher(RowPublisherVerification.scala:63)
[info]   at org.reactivestreams.tck.PublisherVerification.activePublisherTest(PublisherVerification.java:1091)
[info]   at org.reactivestreams.tck.PublisherVerification$5.apply(PublisherVerification.java:244)
[info]   at org.reactivestreams.tck.PublisherVerification$5.apply(PublisherVerification.java:241)

Remove DescribedDataRow

DescribedDataRow is not needed, see how extended querying makes queries without described data row. DescribedDataRow shouldn't be used for simple queries.

PgParametrizedStatement: parameter and return value formats

Decide whether returning DB values should always be in binary format, if so, make appropriate changes to PgParametrizedStatement.

Use binary parameters at first attempt and textual as a fallback. Investigate whether PG supports textual for all possible datatypes. Make it possible for a pg type converter to implement only textual or only binary format

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.