Now that cast functions are selected through pg_cast, this should be a fairly straightforward change. Does anyone have a problem with it? I'm not sure the functionality is actually useful for anything except this one issue, but arguably it's a general-purpose mechanism...
Does that help with making CREATE TABLE AS SELECT pick up varchar lengths, etc.?
Chris
---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend