Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#5292 closed defect (fixed)

raster2pgsql.exe does nothing

Reported by: pizzuga Owned by: robe
Priority: medium Milestone: PostGIS Packaging
Component: raster Version: 3.3.x
Keywords: windows Cc:


I'm making some tests on a virtual machine with windows 10 OS. I installed Postgis from EDB boundle and everything works well from a database point of view

The problem is that raster2pgsl.exe does nothing when I run it. So, I downloaded from and overwrite raster2pgsql.exe but it still does nothing, while doing the same overwrite with the one extracted from ( makes raster2pgsql.exe works as expected.

SELECT postgis_full_version() —> POSTGIS="3.3.2 3.3.2" [EXTENSION] PGSQL="150" GEOS="3.11.1-CAPI-1.17.1" PROJ="7.2.1" GDAL="GDAL 3.4.3, released 2022/04/22" LIBXML="2.9.9" LIBJSON="0.12" LIBPROTOBUF="1.2.1" WAGYU="0.5.0 (Internal)" RASTER

SELECT short_name FROM st_gdaldrivers() retuns all the drivers

Change History (5)

comment:1 by robe, 6 months ago

Component: postgisraster
Keywords: windows added
Milestone: PostGIS 3.3.3PostGIS Packaging
Owner: changed from pramsey to robe

Many apologies. Seems something went wrong with my last packaging. I see the same issue.

I'll let you know once I have a fix in place. Thanks for reporting.

comment:2 by Regina Obe <lr@…>, 6 months ago

In 5e6d250/git:

Package the compiled version of raster2pgsql and not the script.
References #5292 for PostGIS 3.4.0

comment:3 by Regina Obe <lr@…>, 6 months ago

Resolution: fixed
Status: newclosed

In 5872bb5/git:

Package the compiled version of raster2pgsql and not the script.
Closes #5292 for PostGIS 3.3.3

comment:4 by robe, 6 months ago

I don't think there was any change in raster2pgsql between 3.3.1 and 3.3.2.

I plan to rerelease 3.3.2 with a working raster2pgsql probably in about a week. Going to update some other packages as part of the release.

comment:5 by robe, 6 months ago

I have rereleased the PostGIS 3.3.2 Windows bundle which includes.

This fix and an updated pgRouting 3.4.2 (which came out today)

Details at

Last edited 6 months ago by robe (previous) (diff)
Note: See TracTickets for help on using tickets.