Re: RE: [COMMITTERS] pgsql/src/interfaces/jdbc/org/postgresql/jdbc1 (DatabaseMetaData.java)
От | Bruce Momjian |
---|---|
Тема | Re: RE: [COMMITTERS] pgsql/src/interfaces/jdbc/org/postgresql/jdbc1 (DatabaseMetaData.java) |
Дата | |
Msg-id | 200009122359.TAA21692@candle.pha.pa.us обсуждение исходный текст |
Ответ на | RE: [COMMITTERS] pgsql/src/interfaces/jdbc/org/postgresql/jdbc1 (DatabaseMetaData.java) ("Hiroshi Inoue" <Inoue@tpf.co.jp>) |
Ответы |
Re: RE: [COMMITTERS] pgsql/src/interfaces/jdbc/org/postgresql/jdbc1
(DatabaseMetaData.java)
|
Список | pgsql-hackers |
> > As if my JDBC patch hasn't already caused enough grief, there is now a > > one-line change necessary. Due to the Mark Holloman "New Relkind for > > Views" patch, my support for views in the driver will need to be updated > > to match. The change to DatabaseMetaData.getTableTypes[][] is as > > follows: > > > > - {"VIEW", "(relkind='r' and relhasrules='t' and relname !~ > > '^pg_' and relname !~ '^xinv')"}, > > + {"VIEW", "(relkind='v' and relname !~ '^pg_' and relname > > !~ '^xinv')"}, > > > > Current jdbc driver seems to be able to get no VIEW information > from any RELEASE version of backends. > > Hmm,it seems that client app/libs don't mind backward incompatibility. > Don't I have to bother about backward incomatibility which would be > caused by my change ? > If so,I would commit my change about ALTER TABLE DROP COLUMN. So the issue is how to make the 7.1 jdbc driver handle views from >=7.1 databases, and <7.1 databases. Good question. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
В списке pgsql-hackers по дате отправления: