We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Date: 2015-11-09 16:40:39 +0100 From: Endre Palatinus <> To: SQL devs <> Version: 11.21.11 (Jul2015-SP1) CC: @njnes
Last updated: 2016-01-15 11:37:42 +0100
Date: 2015-11-09 16:40:39 +0100 From: Endre Palatinus <>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/601.2.7 (KHTML, like Gecko) Version/9.0.1 Safari/537.86.2 Build Identifier:
It is not possible to add a foreign key reference to a column of a table belonging to a schema different to the table's schema being created.
Reproducible: Always
create schema schema1; create schema schema2; create table schema1.basetable(id serial); create table schema1.childtable(id serial, fk int references schema1.basetable(id)); create table schema2.childtable(id serial, fk int references schema1.basetable(id));
operation successful operation successful operation successful operation successful CONSTRAINT FOREIGN KEY: no such table 'basetable'
operation successful operation successful operation successful operation successful operation successful
Date: 2015-11-18 19:51:05 +0100 From: @njnes
we now handle foreign keys between tables in different schemas
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Date: 2015-11-09 16:40:39 +0100
From: Endre Palatinus <>
To: SQL devs <>
Version: 11.21.11 (Jul2015-SP1)
CC: @njnes
Last updated: 2016-01-15 11:37:42 +0100
Comment 21496
Date: 2015-11-09 16:40:39 +0100
From: Endre Palatinus <>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/601.2.7 (KHTML, like Gecko) Version/9.0.1 Safari/537.86.2
Build Identifier:
It is not possible to add a foreign key reference to a column of a table belonging to a schema different to the table's schema being created.
Reproducible: Always
Steps to Reproduce:
create schema schema1;
create schema schema2;
create table schema1.basetable(id serial);
create table schema1.childtable(id serial, fk int references schema1.basetable(id));
create table schema2.childtable(id serial, fk int references schema1.basetable(id));
Actual Results:
operation successful
operation successful
operation successful
operation successful
CONSTRAINT FOREIGN KEY: no such table 'basetable'
Expected Results:
operation successful
operation successful
operation successful
operation successful
operation successful
Comment 21553
Date: 2015-11-18 19:51:05 +0100
From: @njnes
we now handle foreign keys between tables in different schemas
The text was updated successfully, but these errors were encountered: