Comments (5)
@loserwang1024 a catalog in postgres is not a database, it is a schema.
from pgjdbc.
@davecramer , thanks for your answer.
ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String types[]) throws SQLException;
Is that mean params catalog and schemaPattern all represent schema?
from pgjdbc.
No catalog does nothing since we have no way to support it.
from pgjdbc.
This behavior still looks very much like a bug to me compared to what's described in the JDBC API. If the getTables
method receives a catalog name it cannot support (which is basically anything other than the current catalog name or null), it should report an error, not simply ignore the parameter and return invalid values.
from pgjdbc.
This behavior still looks very much like a bug to me compared to what's described in the JDBC API. If the
getTables
method receives a catalog name it cannot support (which is basically anything other than the current catalog name or null), it should report an error, not simply ignore the parameter and return invalid values.
we sort of punted here. I can support this position.
from pgjdbc.
Related Issues (20)
- Align default client certificate key (postgresql.pk8) file with libpq (postgresql.key) HOT 2
- CopyManager can not handle tables larger than 100MB HOT 14
- Support application level idle responses for more aggressive socketTimeout HOT 10
- Driver should allow server timezone rather than forcing JVM timezone HOT 4
- java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 HOT 10
- Unable to set currentSchema via jdbc URL
- Changing primary key column results in PreparedStatemnt not working HOT 3
- TypeInfoCache log statement incorrectly quoted HOT 1
- getNotifications usability with transaction state and timeouts HOT 7
- Can't retrieve int[] by getObject(1, int[].class) HOT 7
- PGXADataSource should be implement Serializable HOT 3
- PgResultSet.toDouble(@Nullable String s) bug for 'money' type HOT 15
- PgPreparedStatement.getMetaData() does not retry if "prepared statement is no longer valid" HOT 3
- setReadOnly() doesn't work HOT 1
- Document READ_ONLY_MODE in README
- Feature request: Make use of pg_database for catalog listings HOT 1
- OutOfMemoryError should not be wrapped HOT 15
- Several data types (bit, cidr, inet, macaddr, etc.) fail to work with standard JDBC protocol
- Several data types (bit, cidr, inet, macaddr, etc.) fail to work with standard JDBC protocol
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgjdbc.