pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jp.pozzi@izzop.net
To: Rajesh Kumar <rajeshkumar.dba09@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: Undo Update
Date: Thu, 10 Aug 2023 14:01:50 +0200
Message-ID: <f251a748cb9f541f896f0a4573a56347@izzop.net> (raw)
In-Reply-To: <CAJk5AtahecUT1LqJdKkG8cYM814x=JTWU0-TQ+6Xn0F9BgetkA@mail.gmail.com>
References: <CAJk5AtahecUT1LqJdKkG8cYM814x=JTWU0-TQ+6Xn0F9BgetkA@mail.gmail.com>

Hello,

Restore the data ....

Regards

JP P

> Hi friends
> 
> I was given a query to update the record in table A with where clause.
> But I executed it in production mistakenly without where clause so it
> updated incorrectly for all rows.
> 
> How do I resolve this?





view thread (6+ messages)  latest in thread

Message-ID: <f251a748cb9f541f896f0a4573a56347@izzop.net>
Permalink:  ../f251a748cb9f541f896f0a4573a56347@izzop.net/
Also on:    postgresql.org/message-id/f251a748cb9f541f896f0a4573a56347@izzop.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: jp.pozzi@izzop.net, rajeshkumar.dba09@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Undo Update
  In-Reply-To: <f251a748cb9f541f896f0a4573a56347@izzop.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox