[postgis-users] add foreign-key constraint on raster import

Max Demars burton449geo at gmail.com
Wed May 14 07:07:42 PDT 2014


Hi,

I want to import many rasters from files into a same tablewith a
foreign-key constraint to be able to query them individually or grouped as
needed.

I was hopping that the raster2pgsql tool would be able to do it, but no
chance.

 Is there a way to ask raster2pgsql to add a foreign-key during import? If
not, what would be the best approach for this purpose?

Thank you very much,

-Max Demars

-- 
Stack Overflow: http://stackoverflow.com/users/1914034/burton449
GIS Overflow: http://gis.stackexchange.com/users/14426/burton449
LastFm: http://www.lastfm.fr/user/burton449
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20140514/1ef1ac8e/attachment.html>


More information about the postgis-users mailing list