Profile

outlier_lynn: (Default)
outlier_lynn

January 2015

S M T W T F S
    123
45678910
11121314151617
181920 21222324
25262728293031

Most Popular Tags

Expand Cut Tags

No cut tags

April 15th, 2010

outlier_lynn: (Default)
Thursday, April 15th, 2010 11:05 am
I'm troubleshooting a pl/pgsql function that either inserts a new record, or, if it already exists, updates the record. Very straightforward. Except that it is not working.

I pass an xml document into this function and use xpath expressions to gather data needed in to determine row values for the insert or update. The result will be a couple of those values. The result is null and null.

FRUSTRATING.

Answer. Okay. If you declare "OUT" parameters; don't DECLARE them in the declaration block. Duh.
Tags: