pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
why can't select for update be used with join
2+ messages / 2 participants
[nested] [flat]

* why can't select for update be used with join
@ 2003-11-05 19:17 Kris Kiger <kris@musicrebellion.com>
  2003-11-05 21:13 ` Re: why can't select for update be used with join Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Kris Kiger @ 2003-11-05 19:17 UTC (permalink / raw)
  To: pgsql-admin

I'm trying to do a query:  select ta.x from ta join tb using (y) where z 
= 'somevalue' FOR UPDATE

Why can't this be executed without error in 7.3.x?  It worked just fine 
in 7.2.x.   Thanks for the input




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: why can't select for update be used with join
  2003-11-05 19:17 why can't select for update be used with join Kris Kiger <kris@musicrebellion.com>
@ 2003-11-05 21:13 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2003-11-05 21:13 UTC (permalink / raw)
  To: Kris Kiger <kris@musicrebellion.com>; +Cc: pgsql-admin

Kris Kiger <kris@musicrebellion.com> writes:
> I'm trying to do a query:  select ta.x from ta join tb using (y) where z 
> = 'somevalue' FOR UPDATE

> Why can't this be executed without error in 7.3.x?  It worked just fine 
> in 7.2.x.   Thanks for the input

Try saying "FOR UPDATE OF ta, tb".

I agree there's no real reason the system should be that pedantic,
however.  Will see about fixing this for 7.4.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-11-05 21:13 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-11-05 19:17 why can't select for update be used with join Kris Kiger <kris@musicrebellion.com>
2003-11-05 21:13 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox