Skip to content

support for postgres Large Objects (lo) #321

Open
jeromew opened this Issue Apr 4, 2013 · 4 comments

5 participants

@jeromew
jeromew commented Apr 4, 2013

Hello,

it seems like pg does not yet handle postgres large objects (http://www.postgresql.org/docs/9.2/static/largeobjects.html)

pg has bytea support, but has anyone implemented the lo bindings ? is it somewhere on the roadmap ?

do you think it could be possible to have lo support with a node.js stream interface ?

thanks !
Jerome

@thibaultponcelet

+1 I would like to use this too

@Joris-van-der-Wel

Hey, this library does not need explicit support for Large Objects. You work with large objects using simple functions.

I made a library with a similar interface as the JDBC one that lets you use large objects (for example, as a node stream).

https://www.npmjs.org/package/pg-large-object

@brianc
Owner
brianc commented Apr 9, 2014

That's radical @Joris-van-der-Wel

@sombriks
sombriks commented Oct 1, 2015

+1 for this. i need to store files on database but didn't figured yet an elegant way to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.