Fix SQL3 type return value.

Michael Meskes <meskes@postgresql.org>

Commit: cf4d9c4772d9b8efe7d132ce6556d6b338870515
Author: Michael Meskes <meskes@postgresql.org>
Date: 2010-01-13T08:41:50Z
Releases: 9.0.0
Fix SQL3 type return value.

For non-SQL3 types ecpg used to return -Oid. This will break if there are
enough Oids to fill the namespace. Therefore we play it safe and return 0 if
there is no Oid->SQL3 tyoe mapping available.

Files