I pull data every day and write to a Postgres DB instance. The existing table gets dropped at the beginning and the whole dataset including today’s fresh data gets written. This is sometimes problematic because some data feeds stay down occasionally, which results in the table being dropped but no data being written at all.
I was wondering if it is possible only to write the new data rows in Postgres DB, so an insert/append operation instead of write?
@tone_n_tune question is what would constitute a new entry in your database. Do you have a primary key or another restriction? Maybe you can check these examples