Hi all,<br><br>I know there have been postings before on the subject, but I could really really do with a command line switch in shp2pgsql, such as -o.<br><br>I have no option but to use oids - I'm loading so Cadcorp GIS can read the layers, but they need to be a) in the geometry_columns table and b) defined WITH OIDS to be visible.
<br><br>At present I'm loading without OIDS, recreating the table with another name, copying across and recreating indexes etc. - in other words doing twice the work.<br><br>Whilst I do appreciate OIDS are deprecated, PostgreSQL allows to backup and restore with oids and tables can still be created WITH OIDS or the default setting changed - and checking during a restore all that happens is WITH OIDS is put into a copy statement when restoring from a .backup file.
<br><br>Your thoughts please!<br><br>Thanks,<br><br>Steve<br>