From: Steve Atkins <steve@blighty.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: easy way to acquire height / width from images (PNG, JPEG) stored as bytea?
Date: Fri, 17 Apr 2020 15:47:34 +0100
Message-ID: <fb9729cd-4ab4-057b-3831-db688257e1e9@blighty.com> (raw)
In-Reply-To: <03a79221-6e00-4d8e-c6bc-c01cadb352d9@matrix.gatewaynet.com>
References: <03a79221-6e00-4d8e-c6bc-c01cadb352d9@matrix.gatewaynet.com>
On 17/04/2020 13:37, Achilleas Mantzios wrote:
> Hello Dear List,
>
> we have a table holding email attachments as bytea, and we would like
> to filter out images of small dimensions, which are not of any value
> to our logic.
>
> I took a look at pg_image extension, tested it, and it proved
> problematic, it killed my 200+ days uptime FreeBSD box :( . I dropped
> the extension and uninstalled this as soon as fsck finally finished.
If running an extension crashed your server you should look at how /
why, especially if it corrupted your filesystem.
That shouldn't happen on a correctly configured system, so the
underlying issue might cause you other problems. Crashing postgresql,
sure, but not anything that impacts the rest of the server.
Cheers,
Steve
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: steve@blighty.com
Subject: Re: easy way to acquire height / width from images (PNG, JPEG) stored as bytea?
In-Reply-To: <fb9729cd-4ab4-057b-3831-db688257e1e9@blighty.com>
References: <03a79221-6e00-4d8e-c6bc-c01cadb352d9@matrix.gatewaynet.com> <fb9729cd-4ab4-057b-3831-db688257e1e9@blighty.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox