![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
-----Original Message----- From: pgsql-bugs-owner (AT) postgresql (DOT) org=20 [mailto gsql-bugs-owner (AT) postgresql (DOT) org] On Behalf Of=20Massimiliano Citterio Sent: 22 September 2006 09:21 To: pgsql-bugs (AT) postgresql (DOT) org Subject: [BUGS] BUG #2644: pgadmin III foreign key =20 =20 The following bug has been logged online: =20 Bug reference: 2644 Logged by: Massimiliano Citterio Email address: massicitte (AT) libero (DOT) it PostgreSQL version: 8.1.4 Operating system: Windows 2003 Description: pgadmin III foreign key Details:=20 =20 The referencing column dropdown listbox not filled with fields from referenced table. =20 The case appear after doing the following actions. =20 Create a schema named like $user (ex. "postgres"). Delete Schema "Public". Refresh the Database View... Now the default Schema for the database is "postgres" =20 create tables, the try to create foreign keys using the GUI. There is no way. =20 If you create a new schema "public" it does not works. =20 If you create a new schema "public" and rename the "postgres"=20 schema to something else the it works. =20 If you drop schema "postgres" create schema "public" and then recreate schema postgres and his tables, then foreign key GUI works. =20 May be the GUI search for schema "public" but it must have an=20 OID lesser of all other schemas in the searchpath. =20 Infact the default search path is $user, public. =20 By the way it does not work if a schema named public does not exist. |
#3
| |||
| |||
|
|
-----Original Message----- From: massicitte (AT) libero (DOT) it [mailto:massicitte (AT) libero (DOT) it]=20 Sent: 27 September 2006 17:09 To: Dave Page Subject: RE: [BUGS] BUG #2644: pgadmin III foreign key =20 ---------- Initial Header ----------- =20 From : "Dave Page" dpage (AT) vale-housing (DOT) co.uk To : massicitte (AT) libero (DOT) it Cc :=20 Date : Tue, 26 Sep 2006 17:03:18 +0100 Subject : RE: [BUGS] BUG #2644: pgadmin III foreign key =20 =20 OK thank you.=20 I try Version 1.6 beta 1 and I find very good improvements but I'm sorry Foreign key wizard still do not work properly. =20 Access the db with user postgres; Create DB test; create schema postgres; drop schema public; Disconnect; Access the db with user postgres; create table1; create table2; =20 =20 create foreign key on table1 for table2 does not work with=20 GUI, you need to write the SQL CODE. |
|
I download the sources, if i have time i will search where is=20 the problem. |
#4
| ||||||
| ||||||
|
|
-----Original Message----- From: massicitte (AT) libero (DOT) it [mailto:massicitte (AT) libero (DOT) it]=20 Sent: 28 September 2006 15:08 To: Dave Page Subject: RE: [BUGS] BUG #2644: pgadmin III foreign key =20 This is a backup of the test db with the problem... =20 I generate it all with pgAdmin without SQLcode. |
|
I create the database with "New Database" and so on |
|
When I Arrive to "New object" - "New foreign key"=20=20 i can not complete the task because i have no recerencing=20 column to choose from. |
|
When you restore the backup on a template0 inherited db ,=20 drop the schema public. |
|
It know that it could be stupid to drop the public schema but=20 Some development platform like Sybase Powerbuilder refer to=20 user schema and not to public schema... so Someone could=20 think of dropping public schema...=20 |
|
To see the problem you have to disconnect an reconnect Before=20 doing New foreign key. |
#5
| |||
| |||
|
|
-----Original Message----- From: massicitte (AT) libero (DOT) it [mailto:massicitte (AT) libero (DOT) it]=20 Sent: 28 September 2006 18:37 To: Dave Page Subject: RE: [BUGS] BUG #2644: pgadmin III foreign key =20 ---------- Initial Header ----------- =20 From : "Dave Page" dpage (AT) vale-housing (DOT) co.uk To : massicitte (AT) libero (DOT) it Cc : pgsql-bugs (AT) postgresql (DOT) org Date : Thu, 28 Sep 2006 16:11:40 +0100 Subject : RE: [BUGS] BUG #2644: pgadmin III foreign key =20 =20 =20 I try installing on another PC, because I do not arrive to=20 that error. I really can not see the fields from table2 into=20 the foreign key wizard, if I previously drop public schema. |
#6
| |||
| |||
|
|
-----Original Message----- From: massicitte (AT) libero (DOT) it [mailto:massicitte (AT) libero (DOT) it]=20 Sent: 29 September 2006 11:10 To: Dave Page Subject: RE: [BUGS] BUG #2644: pgadmin III foreign key =20 ---------- Initial Header ----------- =20 From : "Dave Page" dpage (AT) vale-housing (DOT) co.uk To : massicitte (AT) libero (DOT) it Cc : pgsql-bugs (AT) postgresql (DOT) org Date : Fri, 29 Sep 2006 09:14:14 +0100 Subject : RE: [BUGS] BUG #2644: pgadmin III foreign key =20 I try 8.1.4 and 7.4.7 Servers =20 On Windows 2003 server and Fedora core2 linux Server |
|
and I try PgAdmin 1.4.3 on WinXp and Win2000 systems and PgAdmin 1.6 beta 1 on WinXp system |
|
All combinations, the same results All system are in Italian language PgAdmin is in english =20 I have some problems to load Sources with Dev C++ 4.9.9.2 I'm searching for A Setup of MS VC++ 6.0 to load the sources. |
![]() |
| Thread Tools | |
| Display Modes | |
| |