Will need something like this done to cart, trades, watch
alter table cart add column exch character varying(6);
update cart set exch = 'L';
alter table cart alter column exch set NOT NULL;
alter table cart drop CONSTRAINT cart_pkey ;
alter table cart add constraint cart_pkey PRIMARY KEY (pfid, symb, exch, date);
ALTER TABLE ONLY cart ADD CONSTRAINT constraint_stocks FOREIGN KEY (symb,
exch) REFERENCES stocks(symb, exch) MATCH FULL;
Original issue reported on code.google.com by peter.st...@1ab.ltd.uk on 8 Feb 2010 at 2:04
Original issue reported on code.google.com by
peter.st...@1ab.ltd.uk
on 8 Feb 2010 at 2:04