Git Product home page Git Product logo

Comments (7)

vietj avatar vietj commented on May 17, 2024

started to contribute in this branch : https://github.com/vietj/reactive-pg-client/tree/blob-support

from vertx-sql-client.

vietj avatar vietj commented on May 17, 2024

it seems actually we don't need function call support and we can rather reuse prepared statement which simplifies the implementation

from vertx-sql-client.

vietj avatar vietj commented on May 17, 2024

large object is really something aside tables (https://www.postgresql.org/docs/9.2/static/largeobjects.html) and I'm whether the API should be oriented to be like a file system to manipulate streams keyed by OID (basically a large object is pretty much like an AsyncFile) and then the developer should use OID when referencing them in tables.

coupling a large object with a table is really an artificial view that JDBC expose (perhaps it makes sense in some databases).

from vertx-sql-client.

vietj avatar vietj commented on May 17, 2024

cc @pmlopes @EmadAlblueshi

from vertx-sql-client.

vietj avatar vietj commented on May 17, 2024

cc @Sanne : any opinion on this ?

from vertx-sql-client.

pmlopes avatar pmlopes commented on May 17, 2024

There are 2 kinds of large objects, the external files that you need to track the OID as you described and the type bytea which is stored on the table itself. They both have their use cases but usually should behave the same from a API perspective.

from vertx-sql-client.

vietj avatar vietj commented on May 17, 2024

I don't think they should have the same API because you don't consume/produce them the same way, small one have to be handled as Buffer (a stream is overkill and anyway the bytes are fully loaded when decoding the row), other are usually stream oriented and can be seeked.

from vertx-sql-client.

Related Issues (20)

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.