[postgis-tickets] [PostGIS] #4905: Revise shp2pgsql regress tests to include checking sql output

PostGIS trac at osgeo.org
Sun May 2 08:23:11 PDT 2021


#4905: Revise shp2pgsql regress tests to include checking sql output
---------------------------+---------------------------
 Reporter:  robe           |      Owner:  robe
     Type:  defect         |     Status:  new
 Priority:  low            |  Milestone:  PostGIS 3.2.0
Component:  loader/dumper  |    Version:  master
 Keywords:                 |
---------------------------+---------------------------
 shp2pgsql ultimately generates an SQL output fed directly to psql.

 Our shp2pgsql tests never output this SQL to compare against an expected.
 As a result #4628 could not be tested with it to confirm the `ANALYZE`
 line is not there since the result of database table created would be the
 same even without output.  I think same holds for Index, but have to
 double-check that.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4905>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list