Search Postgresql Archives

Re: Returning XML with SELECT statements? IS THIS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Freitag, den 09.09.2005, 12:56 -0400 schrieb Ryan Griggs:
> I desire to develop an XML-based web application which interfaces with
> a backend PostgreSQL database.
> 
> Is there any way to instruct the SELECT statements to return results
> as XML rather than a dataset?  Microsoft SQL Server uses the “for xml
> auto” option to return XML results.
> 
>  
> 
> Thank you for information on this issue!

You can write a function to turn your row output into XML.

Btw. whats the point? You would have to connect natively
anyway - now you additionally have the significant 
overhead in both wire data and parsing...




---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux