[postgis-users] Does -a option create when table does not exist?

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Tue May 22 12:29:40 PDT 2012


Right... There seems to be no way to do that...

> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-
> bounces at postgis.refractions.net] On Behalf Of Bborie Park
> Sent: Tuesday, May 22, 2012 3:18 PM
> To: postgis-users at postgis.refractions.net
> Subject: Re: [postgis-users] Does -a option create when table does not exist?
> 
> "-a" does not create the table if the table does not exist.  Neither
> loader attempts to access any database so the loader will never know if
> a table exists.
> 
> -bborie
> 
> On 05/22/2012 12:02 PM, Pierre Racine wrote:
> > Hi,
> >
> > Does the -a option of shp2pgsql and raster2pgsql creates the table when the
> table does not exist? If not would not that be useful for batch?
> >
> > Pierre
> > _______________________________________________
> > postgis-users mailing list
> > postgis-users at postgis.refractions.net
> > http://postgis.refractions.net/mailman/listinfo/postgis-users
> >
> 
> --
> Bborie Park
> Programmer
> Center for Vectorborne Diseases
> UC Davis
> 530-752-8380
> bkpark at ucdavis.edu
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list