Robert Lakes <robertl@xxxxxxxxxxx> writes: > I am new to postgress and I am trying to write my first function to insert, > update or delete and trap errors as a result of the table not existing , > the columns not exist or if any other error simply pass back the sqlstate Please do not hijack an existing thread to ask an unrelated question. Start a new thread (ie "compose" don't "reply") and use an appropriate subject line. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general