Thanks DB,
It's actually the first time I have used this option. Still a newbie on these threads, figuring the ins and outs as I go.
For the OP.. Can you not use pvc tubing, filled with cement to fabricate this safety barrier? The male/ female moulded end would work to your advantage. You could use the female end for the "pocket" (bored into the ground/ cement/ tiles) to insert the posts and then use the rest of the tube for the rails. You would need some tees and elbows also. The pvc will hold paint (as long as it doesn't get stratched much) and then you could cut and install the mesh using zip-strips.
Just and idea....could save you some $$