I would just write a shell script, php script, perl script whatever script with a for loop in it that pauses and runs the same insert statement.
You don't really need an sql file for any of those a shell using psql can take an SQL statement with the -c switch and perl php etc already have drivers for postgresql. Hope that helps, Regina -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of searchelite Sent: Monday, July 28, 2008 11:20 PM To: postgis-users@postgis.refractions.net Subject: RE: [postgis-users] insert .sql using script Thanks for the reply.. The reason why i want to do this is because i want to simulate real-time gps data from gps collected table.. I have a gps record table, and i want to insert the record into the database every ten seconds Thanks Obe, Regina DND\MIS wrote: > > Yes. Although it depends which environment you will be inserting from. > psql may not be the best option. If it is not an autogenerated sql > file, I'm not sure why you would be doing this or maybe I just don't > quite understand what you are saying. > > -- View this message in context: http://www.nabble.com/insert-.sql-using-script-tp18644795p18704258.html Sent from the PostGIS - User mailing list archive at Nabble.com. _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users ----------------------------------------- The substance of this message, including any attachments, may be confidential, legally privileged and/or exempt from disclosure pursuant to Massachusetts law. It is intended solely for the addressee. If you received this in error, please contact the sender and delete the material from any computer. _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users