
* about QueryView and QueryDoc

one view correspond to one document and
one and only one document has one and only one view.
The document is a connection to postgres.
You can not have two view on the same posgres sql session id.
why : http://developer.postgresql.org/docs/postgres/libpq-threading.html

