Opened 14 years ago

Closed 14 years ago

#622 closed defect (fixed)

[raster] raster2pgsql.py -d option deon not actually drop the table

Reported by: pracine Owned by: pracine
Priority: critical Milestone: PostGIS 2.0.0
Component: raster Version: master
Keywords: Cc: mloskot

Description

The -d option should not only drop the line in the raster_columns table but also "DROP TABLE the_table"

Change History (6)

comment:1 by jorgearevalo, 14 years ago

Actually, the -d option is not working for me. If you specify "-d" as option, an error is raised with the text: "options -c and -d are mutually exclusive"

It's normal, because "-c" is the default option and is always true. If you specify "-d" option, "-c" must be false. I need to fix this (only a reminder)

comment:2 by pracine, 14 years ago

I already fixed this one. I will commit soon...

comment:3 by pracine, 14 years ago

Owner: changed from mloskot to pracine

comment:4 by pracine, 14 years ago

Status: newassigned

comment:5 by pracine, 14 years ago

Priority: mediumcritical

comment:6 by pracine, 14 years ago

Resolution: fixed
Status: assignedclosed

Rectification: It was actually dropping the table but was not creating the new one. Fixed in r6673

Note: See TracTickets for help on using tickets.