Question: how to import excel to postgresql?
Answer: In Excel, File/Save As, select CSV, save your current sheet.
transfer to a holding directory on the Pg server the postgres user can access.
in PostgreSQL: COPY mytable FROM '/path/to/csv/file' WITH CSV HEADER; -- must be superuser.