Opened 13 years ago

Closed 13 years ago

#1513 closed defect (fixed)

Index name missing in raster loader

Reported by: jorgearevalo Owned by: pracine
Priority: high Milestone: PostGIS 2.0.0
Component: raster Version: master
Keywords: raster, loader Cc: jorgearevalo

Description

When you specify -I option in the raster loader, the index name is not included. That causes an error. I think this function needs to be modified: http://trac.osgeo.org/postgis/browser/trunk/raster/loader/raster2pgsql.c#L900

Change History (3)

comment:1 by Bborie Park, 13 years ago

Can you post the command line string that you used for raster2pgsql? Also, what version of PostgreSQL? The statement works fine in 9.0 and 9.1 as the database server will generate an appropriate name.

comment:2 by Bborie Park, 13 years ago

Ah. I see now. According to the PostgreSQL 8.4 docs, the "name" parameter for CREATE INDEX is required. As of 9.0, the "name" parameter is optional. Fix coming...

comment:3 by Bborie Park, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in r8975

Note: See TracTickets for help on using tickets.