Re: [BUGS] foreign key constraint not working when index tablespace is not default.

2005-03-29 Thread Tom Lane
Joel Krajden <[EMAIL PROTECTED]> writes: > But if I create the tables as a mortal user or create them as postgres > but in the schema of user joelk and grant all to user joelk, I can > insert data without the foreign key constraint being respected. Now if > I drop the foreign key constraint and rec

Re: [BUGS] foreign key constraint not working when index tablespace is not default.

2005-03-26 Thread Tom Lane
Joel Krajden <[EMAIL PROTECTED]> writes: > If the indexes are created in fis_index, the foreign key constraints in the > user table are ignored on insert and update. Works for me... $ mkdir /tmp/fis $ mkdir /tmp/fis_index $ psql regression ... regression=# create tablespace fis location '/tmp/fi

[BUGS] foreign key constraint not working when index tablespace is not default.

2005-03-26 Thread Joel Krajden
I have two tablespaces: fis (default) and fis_index. The users are required to create the tables in fis and the indexes if fis_index. If the indexes are created in fis_index, the foreign key constraints in the user table are ignored on insert and update. The constraints work properly if the ind