pgmodeler icon indicating copy to clipboard operation
pgmodeler copied to clipboard

Diff tool wrongly reports differences in table policies and domains object

Open AntonioAngelino opened this issue 4 years ago • 2 comments

Bug description Diff tool detects differences in table policies and domain objects and generates an ALTER POLICY/DOMAIN statement every time you run it.

How to reproduce

  1. Create a table with a simple RLS policy (or domain).
  2. Run the diff tool twice.

Expected behavior Diff tool should not generate useless ALTER POLICY/DOMAIN statements.

Info about your desktop

  • OS: Windows 10 Pro
  • pgModeler version: 0.9.3-alpha 20200324
  • Qt version: 5.14.1

AntonioAngelino avatar May 30 '20 08:05 AntonioAngelino

Can you provide a sample model?

rkhaotix avatar May 30 '20 13:05 rkhaotix

sample.zip

sample model, create script and diff right after creation

OS: Win 11, pgModeler 1.1.0-alpha, PostgreSQL 15.2, compiled by Visual C++ build 1914, 64-bit

dkuulis avatar Aug 30 '23 12:08 dkuulis