-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postgres large object support #1328
Comments
is that a protocol change ? |
any pointer about this 15.2 specific behavior ? |
From what I understand, large object types are handled differently and they've moved to using a large object ID to the stored object rather than directly in the table info. With the upgrades, the test's So retrieving the actual string value would require a join, I guess. |
@vietj, if it helps, this is the SQL we are running: create table LobEntity (id integer not null, version integer, string varchar(255), book oid, pic oid, primary key (id))
insert into LobEntity (book,pic,string,version,id) values ($1,$2,$3,$4,$5)
select b1_0.id,b1_0.book,b1_0.pic,b1_0.string,b1_0.version from LobEntity b1_0 where b1_0.id=$1 The insert seems to work fine. The content of the table is the following after an insert:
But the result of the select is always null for the columns |
@vietj To answer your question about the protocol... Unless I'm missing something obvious, I don't know of any (user visible) changes to TOAST or "Large Objects". @blafond I may be stating things already known to you, but all known versions of PostgreSQL have used In the driver I'm not exactly sure how much if the above information helps the current issue but I thought I'd lay it out to see if it helps in crafting a solution. |
@DavideD @blafond I ran the
The pg client doesn't support creating/reading/deleting large objects. As a workaround, users should map text or binary content to |
Hibernate Reactive's LobTypeTest fails using PostgreSQL by returning a NULL for a CLOB string or byte[] column type.
We're currently using vertx-pg-client 4.4.2 & hibernate-orm 6.2.4.Final
oid
type.Are you planning on implementing this support and converting PG's
oid
type?or is it a bug?
The text was updated successfully, but these errors were encountered: