Re: [GENERAL] Referencing to system catalog problem

2010-01-24 Thread Davor J.
Thank you Adrian. I apparently missed that post. Guess I will have to come up with an different approach. "Adrian Klaver" wrote in message news:201001231002.15874.adrian.kla...@gmail.com... > On Saturday 23 January 2010 6:15:36 am Davor J. wrote: >> I am logged in as superuser. I am trying to c

Re: [GENERAL] Referencing to system catalog problem

2010-01-23 Thread Adrian Klaver
On Saturday 23 January 2010 6:15:36 am Davor J. wrote: > I am logged in as superuser. I am trying to create something similar to > this: > > > Code: > CREATE TABLE tbl_unit_convfunctions( > unit_from integer REFERENCES tbl_units (unit_id), > unit_to integer REFERENCES tbl_units (unit_id), > proc_id

[GENERAL] Referencing to system catalog problem

2010-01-23 Thread Davor J.
I am logged in as superuser. I am trying to create something similar to this: Code: CREATE TABLE tbl_unit_convfunctions( unit_from integer REFERENCES tbl_units (unit_id), unit_to integer REFERENCES tbl_units (unit_id), proc_id oid REFERENCES pg_proc (oid) )but no matter what I refer to from pg_pr