It’d be great if this can be added. Our current plan is to cast the ResultSetMetaData to a Pg… one and use the getBaseSchemaName, which is obviously less than ideal. I hope that the method (getSchemaName) isn’t used by clients too often – probably not used directly in clients’ code (since it returns an empty string) but might be used by some frameworks…?
But, it seems that a valid implementation exists as getBaseSchemaName (not part of the JDBC interface) – is there a reason why the implementation is not carried over to the standard API call, or is this considered a bug?