On Thu, Apr 14, 2016 at 7:06 PM, 刘剑 <liujian(at)raintai(dot)com> wrote:
> I had written an update sql without where condition to my table, then
> updated whole table.
> So how can i rollback this?
You need to roll in a backup I am afraid, and you should always have
some. Postgres has no way to replay back directly WAL records, it can
only forward replay. In such circumstances standby nodes with a delay
when applying WAL are useful.
--
Michael