Group: pgsql.general


Subject: Identifying casts
From: tgl@sss.pgh.pa.us (Tom Lane)
Date: 12/7/2007 7:57:28 PM
Marc Munro <marc@bloodnok.com> writes: > Is there any way of identifying whether a cast was built-in or is > user-defined? It's not easy. I'd suggest following the same heuristic pg_dump does, which is that if any of the source type, target type, or underlying function is considered user-defined, then the cast is too. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend