Josh,
On Fri, May 20, 2005 at 11:29:11AM -0700, Josh Berkus wrote:
> Aditya,
>
> > however, that seems less than elegant because there is time between the
> > check and the insert for a competing entry to get inserted....so next thing
> > to try is a constratint:
>
> Use a transaction and "select for update".
Sorry, I'm unclear on how this would help since I'm worried about an
intervening insert rather than an update. Am I missing something?
Thanks,
Adi