On mán, 2007-07-09 at 11:24 +0400, Viatcheslav Kalinin wrote:
> Jasbinder Singh Bali wrote:
> > If I have a series of Insert statements within a loop in a function on 
> > the same table.
> > Would an Insert be able to see the values of previous insert in that 
> > table ?
> Functions are run in a single separate transaction

this is not correct.

functions run in the transaction where they were called,
not in a separate one.

gnari



---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to