"revdberr, " as the returned value on *successful* postgres operations
dochawk at gmail.com
Mon May 13 21:52:06 EDT 2013
On Mon, May 13, 2013 at 6:41 PM, Peter Haworth <pete at lcsql.com> wrote:
> I haven't used LC with postgresql but seems pretty unlikely that a
> successful operation would return "revdberr". If you post your code and
> also the full text of the error message you get back, can probably figure
> out what's going on.
That's the problem--this *is* the entire result.
UPDATE mytable SET mypet='cat' WHERE food='mice';
yields this error
But then checking
SELECT * FROM mytable;
cat <delim> mice
where there was a prior entry of "snake, mice"
I've seen this message many, many times, and every time I've checked the db
contents when getting this one-word error, the commit was successful.
It's as if LC has a structure
put somenumber into theRes
put "revdberr," into theRes
CASE condition 1;
put cr & gizmo after theRes
<no DEFAULT CASE in embedded
.But I absolutely agree that it makes no sense . . .
Dr. Richard E. Hawkins, Esq.
More information about the Use-livecode