fix: exclude timescaledb internal scheme from the restricted script (#506)
Description
The restricted script tries to change the owner of all relations to the restricted user, which is not allowed for timescaledb chunks:
FATAL failed to run objects restrict query: pq: operation not supported on chunk tables
Related issue
Examples
Checklist
-
MR description has been reviewed -
MR changes are functionally tested -
MR does NOT have API/CLI changes OR there are API/CLI changes and they have been reviewed & DOCS ARE ADJUSTED (reference doc, etc) -
MR does NOT have UI changes OR there are UI changes and they have been reviewed & UX IS REVIEWED
Closes #506 (closed)