Hi Khushboo,
Please find below review comments.
- While creating new Domain and clicking on SQL tab, python side we are getting error saying "TypeError: 'bool' object is not callable".
We are not able to create any domain. Fix this issue so that we can test other functionality.
- Implement the reverse engineering SQL generation for the domain node.
- As per the checklist, remove the "Use Slony" from Constraints tab, as it is not required.
- No need to pass "qtIdent=self.qtIdent" as function argument in "create" and "getSQL" function in domains/__init__.py
- In "Security" tab , provider and security label fields are not editable.
- In PG version 9.1, when we update the existing domain name then "ALTER DOMAIN" is not supported.
Currently there is no checking for the PG version 9.1 and 9.2_plus. It will fail when we connect to database 9.1
e.g.
For PG version 9.1 - Update command should be as below.
ALTER TYPE xyz RENAME TO abc;
For PG version 9.2 onwards - Update command should be as below.
ALTER DOMAIN xyz RENAME TO abc;
- Some of the SQL file, qtIdent is not used. Please check all the related SQL files.
e.g. - In update.sql file "data.owner" should be "conn|qtIdent(data.owner)"
{% if data.owner %}
ALTER DOMAIN {{ conn|qtIdent(o_data.basensp, name) }}
OWNER TO {{ data.owner }};
{% endif %}
Let us know for any issues.
Thanks,
Neel Patel