Fix issue where VALID foreign keys show as NOT VALID in the SQL tab for tables.

Corrected the condition for valid foreign key.

Fixes #4791
pull/26/head
Akshay Joshi 2019-10-10 18:55:13 +05:30
parent d056a94f0c
commit c3e11bd390
2 changed files with 2 additions and 1 deletions

View File

@ -35,3 +35,4 @@ Bug fixes
| `Issue #4769 <https://redmine.postgresql.org/issues/4769>`_ - Fix query tool open issue on Internet Explorer.
| `Issue #4777 <https://redmine.postgresql.org/issues/4777>`_ - Fix issue where query history is not visible in the query history tab.
| `Issue #4780 <https://redmine.postgresql.org/issues/4780>`_ - Ensure the search path should not be quoted for Function, Procedure and Trigger Function.
| `Issue #4791 <https://redmine.postgresql.org/issues/4791>`_ - Fix issue where VALID foreign keys show as NOT VALID in the SQL tab for tables.

View File

@ -74,7 +74,7 @@
DEFERRABLE{% if data.condeferred %}
INITIALLY DEFERRED{% endif%}
{% endif%}
{% if data.convalidated %}
{% if not data.convalidated %}
NOT VALID{% endif%}
{% endfor %}