Opened 9 years ago

Closed 9 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 Changed 9 years ago by jorgearevalo

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 Changed 9 years ago by pracine

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

comment:3 Changed 9 years ago by pracine

Owner: changed from mloskot to pracine

comment:4 Changed 9 years ago by pracine

Status: newassigned

comment:5 Changed 9 years ago by pracine

Priority: mediumcritical

comment:6 Changed 9 years ago by pracine

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.