How would I export NeonDB e-mail tables?

i want to export my email list. how do I do that?

Hi, you can do that by connecting via psql and running the \copy command. For example:

psql postgres://alex:AbC123dEf@ep-cool-darkness-123456.us-east-2.aws.neon.tech/dbname

dbname => \copy public.mytable TO '/Users/me/myexport.csv' DELIMITER ',' CSV HEADER;

public is the default schema name.

1 Like