Re: What have I done!?!?!? :-)

From: Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com>
To: Jan Wieck <jan(at)wi3ck(dot)info>
Cc: Perry Smith <pedz(at)easesoftware(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: What have I done!?!?!? :-)
Date: 2022-04-08 05:57:18
Message-ID: CANNMO+J-KZggPz4pX=KUOfRwpXm=Qo3eXz9=e2BtdnaBZbZRqg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Apr 7, 2022 at 8:10 AM Jan Wieck <jan(at)wi3ck(dot)info> wrote:

> So **IF** Active Record is using that feature, then it can dump any
> amount of garbage into your PostgreSQL database and PostgreSQL will
> happily accept it with zero integrity checking.
>

It's DISABLE TRIGGER ALL
https://github.com/rails/rails/blob/831031a8cec5bfe59ef653ae2857d4fe64c5698d/activerecord/lib/active_record/connection_adapters/postgresql/referential_integrity.rb#L12

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message friend.have_00 2022-04-08 07:01:57 Could not read block 0 in file
Previous Message Tom Lane 2022-04-07 20:27:03 Re: psql removes dashed comments