Tom Lane wrote:
> A larger point is that this is still a protocol revision; pretending
> ain't is just willful obscurantism.  You can tell it's a protocol
> because you will need to rewrite client-side libraries to take
> of it.  If we try to look the other way and pretend it isn't one, then
> we'll just be incurring pain --- the most obvious pain being that it
> will be hard for those client libraries to tell whether the protocol
> extension is supported or not.

Is it at all worth considering returning an xml document as a scalar?
In most cases when I'm extracting constructed documents from the backend
I would not be using psql to do any processing beyond executing the
query.  Also, if at some point the backend learns to return more complex
documents than simple table mappings, this does not complicate the
protocol or the client libs.

As for schemas, they could be manifestly requested by the query.  For
simplicity, they could be inlined into the document, returned instead of
(think explain...), or as a separate column.


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to