Re: postgres_fdw has insufficient support for large object

2022-05-24 Thread Robert Haas
On Mon, May 23, 2022 at 2:21 AM Tom Lane wrote: > The big picture here is that Postgres is a hodgepodge of features > that were developed at different times and with different quality > standards, over a period that's now approaching forty years. > Some of these features interoperate better than

Re: postgres_fdw has insufficient support for large object

2022-05-23 Thread John Naylor
On Mon, May 23, 2022 at 1:21 PM Tom Lane wrote: > The big picture here is that Postgres is a hodgepodge of features > that were developed at different times and with different quality > standards, over a period that's now approaching forty years. > Some of these features interoperate better than

Re: postgres_fdw has insufficient support for large object

2022-05-23 Thread Tom Lane
"=?gb18030?B?U2FsYWRpbg==?=" writes: > The output i expected: > pg_largeobject_metadata and pg_largeobject in both database A and database > B should have rows.Shouldn't only in database A.So, i can use large object > functions > to operate large_objectin remote table or foreign table. The big

Re: postgres_fdw has insufficient support for large object

2022-05-22 Thread David G. Johnston
On Sunday, May 22, 2022, Saladin wrote: > > The output i expected: > pg_largeobject_metadata and pg_largeobject in both database A and database > B should have rows.Shouldn't only in database A.So, i can use large object > functions > to operate large_objectin remote table or foreign table. >

Re: postgres_fdw has insufficient support for large object

2022-05-22 Thread Dilip Kumar
On Mon, May 23, 2022 at 10:54 AM Tom Lane wrote: > > Dilip Kumar writes: > > I don't think that the local pg_largeobject should maintain the > > foreign server's data, instead that the export should fetch the data > > from the remote's pg_largeobject table. Then I just checked inserting > >

Re: postgres_fdw has insufficient support for large object

2022-05-22 Thread Tom Lane
Dilip Kumar writes: > I don't think that the local pg_largeobject should maintain the > foreign server's data, instead that the export should fetch the data > from the remote's pg_largeobject table. Then I just checked inserting > into the foriegn from your test as shown below[1] and I noticed

Re: postgres_fdw has insufficient support for large object

2022-05-22 Thread Dilip Kumar
On Mon, May 23, 2022 at 7:16 AM Saladin wrote: > > PostgreSQL version:PostgreSQL 14.0 on x86_64-pc-linux-gnu, compiled by gcc > (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39), 64-bit > Platform information:Linux version 3.10.0-1127.el7.x86_64 > (mockbu...@kbuilder.bsys.centos.org) (gcc version 4.8.5

postgres_fdw has insufficient support for large object

2022-05-22 Thread Saladin
PostgreSQL version:PostgreSQL 14.0 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39), 64-bit Platform information:Linux version 3.10.0-1127.el7.x86_64 (mockbu...@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) ) #1 SMP Tue Mar 31