there is a way to copy data from table to a file with pscyopg2 copy_to or copy_expert. Is there any way to copy table structure to a file so that I can
copy_to
copy_expert