felipebz / zpa

Parser and static code analysis tool for PL/SQL and Oracle SQL.
https://zpa.felipebz.com
GNU Lesser General Public License v3.0
211 stars 77 forks source link

Use MEMBER_EXPRESSION not CUSTOM_DATATYPE in REF/ANCHORED_DATATYPE #160

Closed mcpiroman closed 2 years ago

mcpiroman commented 2 years ago

(It appears that) both REF_DATATYPE and ANCHORED_DATATYPE can't have constraints, which CUSTOM_DATATYPE does have. It also makes more semantic sense, as in THE_TABLE%ROWTYPE, THE_TABLE is not any custom datatype.

felipebz commented 2 years ago

LGTM. Thanks, @mcpiroman.