postgresql: tcl is optional

Closes #21099.