I would be really happy if the error codes would reflect more on what the error actually is -- at least for our automated tests,
This single example doesn't really motivate me to want to vote to change even this single instance let alone wish for the big project Tom want's.
If you are unable to scratch your own itch here you are going to need to be more forthcoming as to your application if you hope to convince others to do so on your behalf. Though the lack of anyone else chiming in with a "me too" doesn't bode well.
In any case I'd say this isn't a bug, or if it is at present its a "won't fix". If you want to continue this please begin a new thread on pgsql-general.