The following bug has been logged on the website:
Bug reference: 12789
Logged by: Curtis McEnroe
Email address: programble(at)gmail(dot)com
PostgreSQL version: 9.4.1
Operating system: Mac OS X 10.10.1
Description:
A view created with explicit column names and defined as a VALUES statement
will lose its column names when dumped. When the dump is restored, the
view's columns are named "column1", "column2", etc.
I wrote a short repro script here:
https://gist.github.com/programble/a416df496bfb41259c86