I assume the group agreed that adding XML to libpq was the way to handle
XML, with a hook in psql to call it.
I also see this copyright on one of the files:
+ * Hash Table Data Type
+ * Copyright (C) 1997 Kaz Kylheku <[EMAIL PROTECTED]>
+ *
+ * Free Software License:
+ *
+ * All rights are reserved by the author, with the following exceptions:
+ * Permission is granted to freely reproduce and distribute this software,
+ * possibly in exchange for a fee, provided that this copyright notice appears
+ * intact. Permission is also granted to adapt this software to produce
+ * derivative works, as long as the modified versions carry this copyright
+ * notice and additional notices stating that the work has been modified.
+ * This source code may be translated into executable form and incorporated
+ * into proprietary software; there is no requirement for such software to
+ * contain a copyright notice related to this source.
+ *
I assume this copyright is compatible with our BSD copyright.
Your patch has been added to the PostgreSQL unapplied patches list at:
http://momjian.postgresql.org/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
---------------------------------------------------------------------------
Brian Moore wrote:
> hello,
>
> please find attached my support for printing/exporting
> xml from postgresql. psql has been modified to take
> an additional command line argument (-M) to print xml
> and the file fe-printxml.c has been added. additionally,
> i have added an extra function to libpq, PGresult_as_xml
>
> thanks,
>
> b
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool. Try it!
> http://webhosting.yahoo.com/ps/sb/
Content-Description: postgresql-7.4.1.add_xml_export_support.patch
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
--
Bruce Momjian | http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings