]> granicus.if.org Git - postgis/commitdiff
Fixed erroneous addition of filename to overviews when the flags -l -F -Y are combined.
authorBborie Park <bkpark at ucdavis.edu>
Fri, 23 Dec 2011 16:39:04 +0000 (16:39 +0000)
committerBborie Park <bkpark at ucdavis.edu>
Fri, 23 Dec 2011 16:39:04 +0000 (16:39 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8530 b70326c6-7e19-0410-871a-916f4a2858ee

raster/loader/raster2pgsql.c

index 871f244310d5a72a2f50e4d8f49861e2198f606d..392afe34e50ae92f1670f0859312a8d1b676d289 100644 (file)
@@ -1288,7 +1288,7 @@ build_overview(int idx, RTLOADERCFG *config, RASTERINFO *info, int factor, STRIN
                        if (tileset->length > 10) {
                                if (!insert_records(
                                        config->schema, config->table, config->raster_column,
-                                       (config->file_column ? config->rt_filename[idx] : NULL), config->copy_statements,
+                                       NULL, config->copy_statements,
                                        tileset, buffer
                                )) {
                                        fprintf(stderr, _("Cannot convert raster tiles into INSERT or COPY statements\n"));