Home > Archive > Pgadmin > April 2005 > Error in display of schema qualified procedure









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Error in display of schema qualified procedure
Keith Worthington

2005-04-26, 1:24 pm

Hi All,

I have noticed that when reviewing a trigger function using pgadmin the
displayed schema is incorrect.

pgadmin3 display:
CREATE TRIGGER tgr_update_tbl_curre
nt_allocated
AFTER INSERT OR UPDATE OR DELETE
ON sales_order.tbl_item_bom
FOR EACH STATEMENT
EXECUTE PROCEDURE sales_order. tf_update_tbl_curren
t_allocated();

psql description:
TESTDB=# \d sales_order.tbl_item_bom
Table "sales_order.tbl_item_bom"
[snip]
Triggers:
tgr_update_tbl_curre
nt_allocated AFTER INSERT OR DELETE OR UPDATE ON
sales_order.tbl_item_bom FOR EACH STATEMENT EXECUTE PROCEDURE
inventory. tf_update_tbl_curren
t_allocated()

The display seems to assume that the called procedure is in the same schema as
the table that the trigger is built on.

Kind Regards,
Keith

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com