From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: lo_import() of an empty file |
Date: | 2018-03-30 18:38:22 |
Message-ID: | 20180330183822.GR8476@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Mar 30, 2018 at 02:22:49PM -0400, Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > I have just discovered if you try to lo_import() an empty file, and oid
> > is returned, but nothing is added to pg_largeobject:
>
> Why would you expect there to be? There's no data to store.
>
> There should be an entry in pg_largeobject_metadata, though.
Ah, yes, there is a row there. Thanks. No problem here.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +
From | Date | Subject | |
---|---|---|---|
Next Message | Bossart, Nathan | 2018-03-30 18:39:01 | Re: BUG #14941: Vacuum crashes |
Previous Message | Stephen Frost | 2018-03-30 18:24:23 | Re: [HACKERS] AdvanceXLInsertBuffer vs. WAL segment compressibility |