MySQL and PostgreSQL Command Comparison

Command Comparison
Since TSV import is troublesome for both MySQL and PostgreSQL, it is best to create your own script to convert TSV to SQL.
PostgreSQL/MySQL information_schema
Since information_schema
is a SQL standard, the same SQL can be used in either case.
Table list
Column list
Setup Default Connection
In PostgreSQL this is set by environment variable
export PGDATABASE = DB name
export PGHOST = host
export PGPORT = port number
export PGUSER = username
export PGPASSWORD = password
The password can also be set with ~/.pgpass
In MySQL we can set all in ~/.my.cnf
[client]
database = DB name
user = username
password = password
by the author.