You are doing a search against the PgTypeID column, but that column exists in two tables so it is asking you to be more specific.
Update this part:
array("PgTypeID"),
To:
array("TableName.PgTypeID"),
Where TableName is the table you want the search to look at that column value in. That should fix the problem.