0

How do I stream large objects from PostgreSQL in JRuby?

0

In JRuby you can't use the pg gem as you would in regular Ruby, so you can't use it's large object support.

However you do have access to PgJDBC, so you can use the large object features offered by PgJDBC, same as you would from Java directly. See:

This should work much the same in JRuby as in regular Java.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.