HUZZAH!! Sorry for the serial posting, but i have made some progress. This file creates the table and inserts records:
CREATE TABLE demo_zip_codes (
zip varchar(5) NOT NULL default '' PRIMARY KEY,
lat_radians decimal(12,11) default NULL,
long_radians decimal(12,11) default NULL,
city varchar(30) default NULL,
st char(2) default NULL,
time_zone_offset smallint default NULL,
observes_dst smallint default NULL
);
INSERT INTO demo_zip_codes VALUES ('00000','0.31653839348','-1.17142891886',NULL,NULL,NULL,1);
INSERT INTO demo_zip_codes VALUES ('00210','0.75059440000','-1.23941420000','Portsmouth','NH',-5,1);
HOWEVER it gives a warning:
psql:zip2.sql:11: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "demo_zip_codes_pkey" for table "demo_zip_codes"
And more importantly the table doesn't belong to the user i want it to belong to. I guess the table belongs to user postgres or something? I recall having some luck figuring out how to create tables belonging to certain users on another post....i'll go dig that up now.
Some very good news here at any rate...apparently postgres doesn't like the backquotes (`) so i should just be able to do blanket find/replace. Any got any advice about how I might use pipes or grep to do that on my huge 10Mil record file? But aside from the backquotes complaint, I'll just need to tweak my create table code and it should work.
EDIT: In the process of googling mysqldump and backquotes, this thread showed up in the stop 25 results! haha.