<div dir="ltr"><div><div>Hi Mateusz,<br><br></div>I have just tried using the -q option and it works. Thanks a lot. I have gone through the doc a lot to resolve several issues in the past. In this case it was an oversight as I thought that explicitly wrapping the identifiers in quote would give the same result as the -q option.<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 14, 2017 at 12:10 PM, Mateusz Loskot <span dir="ltr"><<a href="mailto:mateusz@loskot.net" target="_blank">mateusz@loskot.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 14 July 2017 at 12:44, Osahon Oduware <<a href="mailto:osahon.gis@gmail.com">osahon.gis@gmail.com</a>> wrote:<br>
><br>
> Thanks for your suggestion. I would attempt this on a small raster and give<br>
> you feedback. However, in practice I am working with a large raster, hence,<br>
> I am piping the output of the raster2pgsql command with the connection to<br>
> the database as below:<br>
> raster2pgsql -s <SRID> -d -Y -e -I -C -F -M /path/to/raster/file<br>
> <RASTER_TABLE> | psql -h localhost -U postgres -p 5432 -d <database><br>
><br>
<br>
</span>If you scanned the docs you would have learned about -q option.<br>
<br>
(reading PostgreSQL docs on quoted identifiers might be useful too).<br>
<br>
If quoted identifiers are not requested, raster2pgsql forces database<br>
object names (schema/table...) to lowercase.<br>
<br>
Best regards,<br>
<span class="HOEnZb"><font color="#888888">--<br>
Mateusz Loskot, <a href="http://mateusz.loskot.net" rel="noreferrer" target="_blank">http://mateusz.loskot.net</a><br>
</font></span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">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/<wbr>mailman/listinfo/postgis-users</a></div></div></blockquote></div><br></div>