Re: [BUGS] COPY in readonly transaction.

2005-10-03 Thread Tom Lane
"Alon Goldshuv" <[EMAIL PROTECTED]> writes: > In the folllowing check (copy.c:DoCopy() ), I *think* that the check for the > is_from flag is mistakenly negated. Yeah, it's definitely backward :-( Will fix. regards, tom lane ---(end of broadcast)--

[BUGS] COPY in readonly transaction.

2005-10-03 Thread Alon Goldshuv
In the folllowing check (copy.c:DoCopy() ), I *think* that the check for the is_from flag is mistakenly negated. is_from means -> from file to database, therefore we should check for , and not . The current code allows loading and disallows reading in read-only. /* check read-only transaction