FOR UPDATE question

Started by Michael Meskesalmost 27 years ago2 messages
#1Michael Meskes
Michael.Meskes@usa.net

Vadim changed the parser to allow FOR UPDATE for all queries except those
for which QueryIsRule is set to true. Does that mean we allow FOR UPDATE for
unions etc? Or do all these cases set QueryIsRule?

Michael
--
Michael Meskes | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire!
Tel.: (+49) 2431/72651 | Use Debian GNU/Linux!
Email: Michael.Meskes@gmx.net | Use PostgreSQL!

#2Vadim Mikheev
vadim@krs.ru
In reply to: Michael Meskes (#1)
Re: [HACKERS] FOR UPDATE question

Michael Meskes wrote:

Vadim changed the parser to allow FOR UPDATE for all queries except those
for which QueryIsRule is set to true. Does that mean we allow FOR UPDATE for
unions etc? Or do all these cases set QueryIsRule?

^^^^^^^^^^
No. I just moved tests from gram.y to analyze.c and rewrite system.

Vadim