references to variable in another schema - Mailing list pgsql-novice

From Mija Lee
Subject references to variable in another schema
Date
Msg-id 47349D84.7090902@scharp.org
Whole thread Raw
Responses Re: references to variable in another schema  ("Sean Davis" <sdavis2@mail.nih.gov>)
Re: references to variable in another schema  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
Hi folks:

I wanted to put a reference on a table in the public schema that
references a column in a table in another schema. I tried:

create table cellphone(emplid integer not null references
admin.tbl_employee.employee_id);

ERROR:  cross-database references are not implemented:
"admin.tbl_employee.employee_id"

But these are within one database. Is there a way to do this or have I
gotten my syntax messed up?

Mija

pgsql-novice by date:

Previous
From: "Kasia Tuszynska"
Date:
Subject: Autovacuum - what does it actually do?
Next
From: "Sean Davis"
Date:
Subject: Re: references to variable in another schema