have you tried running the SQL by hand in pgsql?
i've seen postgresql have problems with silently dropping inserts after i had inadvertantly shut it down improperly. the problem went away after i shut it down nicely and restarted it.
i'd also strongly recommend using DBI's prepared statements with placeholders instead of trying to escape the input yourself. keeping track of nested quotes, backslashes, and misc. characters is trickier than it would seem at first and is best left to DBI. if your '&filter' function isn't handling something correctly, it may be munging $old_email into something that doesn't match any rows in the database. that would certainly cause it to not update anything and not print an error message either.
In reply to Re: PostgreSQL UPDATE
by thraxil
in thread PostgreSQL UPDATE
by nlafferty
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |