> It is found that pg_dump does not dump function referred in CHECK
> constraint definations before dumping the table defination . As a result
> the tables
> do not get restored due to lack of defined functions.
> Is it something that will be worked upon in future ?
This is fixed in CVS tip.
regards, tom lane