I need to back up a table from a database schema.The table is located under kdb28_test_h
and a schema named kref
. I tried with the following code
pg_dump --host=110.11.12.16 --port=5432 --username=db_root --password --column-inserts \n
--table=kref.abc kdb28_test_h > test_h_popl_back_up.sql
but insert command is generating like
insert into abc(----);
but I need
insert into kref.abc(------)