Dietmar Maurer wrote: > > > Anyways, i am trying to avoid locks now, by using my own merge > > > function to avoid update/insert race condition. > > > > > > Or what is the suggested way to avoid the update/insert > > race condition?. > > > > What update/insert race condition? Maybe you are talking > > about the subject of example 37-1 here: > > Yes, i talk about Example 37-1 So are you having problems with it? -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq