On Thu, 19 Dec 2013 10:49:52 GMT, Sönke Ludwig wrote:

I'd also open up an issue on github, Piotr may not be active enough here in the forum to see it.

But I agree with that sentiment, at least in a D API I'd expect that, too. Maybe even statically checked for validity with something like

auto cmd = makePGCommand!"INSERT INTO users (name, surname) VALUES ($1, $2)"("John", "Doe");

I contacted Piotr. It seems that text parameters were not even implemented (but that wasn't caught because there was a bug with an 'assert("Not implemented")'). Adam Ruppe fixed the bugs, so that's working (although it seems that now you have to use Variant("John"), because of new @property behavior/possible bug). Piotr wants to redesign the whole parameter thing, so I don't know how that's going to proceed. I'll just say one thing: please support ranges in parameters. That way I can stream vibe's HTTP post directly into a param, instead of building a temporary buffer.