David Kamholz <lautges...@gmail.com> writes: > In the view case that makes sense, but I don't see how ALTER DOMAIN is > relevant to my original example. You can't alter a domain between the time > the query is parsed and executed, can you?
Yes, you can. Especially so for prepared statements. regards, tom lane