Re: setCatalog

Поиск
Список
Период
Сортировка
Искать
От
Dave Cramer
Тема
Re: setCatalog
Дата
Msg-id
1050483769.1743.463.camel@inspiron.cramers
Ответ на
Re: setCatalog (Kris Jurka)
Список
Дерево обсуждения
error getString() --> decodeUTF8 / java.lang.ArrayIndexOutOfBoundsException: 5 Pedro Salazar <pedro-b-salazar@ptinovacao.pt>
Re: error getString() --> decodeUTF8 / Pedro Salazar <pedro-b-salazar@ptinovacao.pt>
Re: error getString() --> decodeUTF8 / Barry Lind <blind@xythos.com>
Re: error getString() --> decodeUTF8 / Pedro Salazar <pedro-b-salazar@ptinovacao.pt>
setCatalog "Patrik Lundgren" <patrik@mensa.se>
Re: setCatalog Dave Cramer <Dave@micro-automation.net>
Re: setCatalog "Patrik Lundgren" <patrik@mensa.se>
Re: setCatalog Dave Cramer <Dave@micro-automation.net>
Re: setCatalog Kris Jurka <books@ejurka.com>
Re: setCatalog Dave Cramer <Dave@micro-automation.net>
Re: error getString() --> decodeUTF8 / Daniel Serodio <daniel@checkforte.com.br>
Re: error getString() --> decodeUTF8 / Barry Lind <blind@xythos.com>
Well, if pgAdminII does it then we can use it for inspiration.

Dave
On Wed, 2003-04-16 at 03:55, Kris Jurka wrote:
> On 14 Apr 2003, Dave Cramer wrote:
> 
> [ foreign keys don't show up if they reference a unique key other than the
> primary key]
> 
> Basically the problem is that there is no real link between the foreign
> key and the index.  With a primary key this is not a problem because there
> can be only one primary key per table.  Supposing I had done:
> 
> create table tab (a int not null, b int not null);
> 
> create unique index t1 on tab (a,b);
> create unique index t2 on tab (a,b);
> create unique index t3 on tab (b,a);
> 
> create table tab2 (a int, b int);
> alter table tab2 add constraint tab2_fk_tab foreign key (a,b) references
> tab(a,b);
> 
> What is the resulting value in the PK_NAME column from a getCrossReference
> call?
> 
> Actually looking at the javadoc it appears this may be null which would be
> OK.  Getting at the data could be another problem as it is rather
> complicated for the existing functionality.
> 
> Unfortunately jxdbcon is LGPL licensed which is no good as a source of
> inspiration to our BSD driver.  I will be away for the next two weeks and
> will look at this more closely later.  My initial reaction is that this
> will depend on Joe Conway's work on the new array functionality and
> getting something like contrib/array integrated into the backend, which
> will then allow this for >= 7.4 servers.
> 
> Kris Jurka
> 
> 
-- 
Dave Cramer 

В списке pgsql-jdbc по дате отправления
От: Nic Ferrier
Дата:
Сообщение: Re: the build
От: Nic Ferrier
Дата:
Сообщение: Re: [PATCHES] the build
FAQ