<div dir="ltr"><div>Hi,</div><div><br></div><div>I'd suggest having a look as well at `bytea` data type, which has been introduced after blobs. Here an useful link to</div><div>understand which is more suitable depending on your use case: <br></div><div><br></div><div> <a href="https://wiki.postgresql.org/wiki/BinaryFilesInDB">https://wiki.postgresql.org/wiki/BinaryFilesInDB</a></div><div><br></div><div>Cheers,</div><div>Giuseppe.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 6 nov 2020 alle ore 08:57 karsten <<a href="mailto:karsten@terragis.net">karsten@terragis.net</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
<div dir="ltr" align="left"><span><font size="2" face="Arial" color="#000080">Hi David, </font></span></div>
<div dir="ltr" align="left"><span><font size="2" face="Arial" color="#000080"></font></span> </div>
<div dir="ltr" align="left"><span><font size="2" face="Arial" color="#000080">it certainly can be used to store pictures . I have for
example stored jpeg pictures taken via an ODK app and then stored
in postgres used the data type bytea for the picture
itself.</font></span></div>
<div dir="ltr" align="left"><span><font size="2" face="Arial" color="#000080">It also is possible to store audio
or other file types </font></span><font face="Arial"><font color="#000080"><font size="2">a<span>s a blob see e.g. <a href="https://www.postgresql.org/docs/current/largeobjects.html" target="_blank">https://www.postgresql.org/docs/current/largeobjects.html</a></span></font></font></font></div>
<div><font face="Arial"><font color="#000080"><font size="2"><span></span></font></font></font> </div>
<div><font face="Arial"><font color="#000080"><font size="2"><span>Cheers</span></font></font></font></div>
<div><font face="Arial"><font color="#000080"><font size="2"><span>Karsten</span></font></font></font></div>
<div dir="ltr" align="left"><br></div>
<div dir="ltr" lang="en-us" align="left">
<hr>
<font size="2" face="Tahoma"><b>From:</b> postgis-users
[mailto:<a href="mailto:postgis-users-bounces@lists.osgeo.org" target="_blank">postgis-users-bounces@lists.osgeo.org</a>] <b>On Behalf Of </b>Shaozhong
SHI<br><b>Sent:</b> Friday, November 06, 2020 00:31<br><b>To:</b> PostGIS Users
Discussion<br><b>Subject:</b> [postgis-users] Can PostgreSQL/PostGIS store and
serve pictures andsounds?<br></font><br></div>
<div></div>
<div dir="ltr">It is interesting to know the range and types of data
PostgreSQL/PostGIS can store and serve.
<div><br></div>
<div>We know that it can deal with GIS data.</div>
<div><br></div>
<div>We wonder whether it can be used for general purposes like storing and
serving pictures and sounds?</div>
<div><br></div>
<div>Regards,</div>
<div><br></div>
<div>David</div></div></div>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a></blockquote></div>