Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pgraster] Fix read of metadata for tables with multiple raster cols #34

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion gdal/frmts/postgisraster/postgisrasterdataset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2040,7 +2040,8 @@ GBool PostGISRasterDataset::SetRasterProperties
"from (select srid, extent geom, num_bands nbband, "
"scale_x, scale_y, blocksize_x, blocksize_y, same_alignment, regular_blocking from "
"raster_columns where r_table_schema = '%s' and "
"r_table_name = '%s') foo", pszSchema, pszTable);
"r_table_name = '%s' and r_raster_column = '%s' ) foo",
pszSchema, pszTable, pszColumn);

#ifdef DEBUG_QUERY
CPLDebug("PostGIS_Raster",
Expand Down