mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
Code review for XML patch. Instill a bit of sanity in the location of
the XmlExpr code in various lists, use a representation that has some hope of reverse-listing correctly (though it's still a de-escaping function shy of correctness), generally try to make it look more like Postgres coding conventions.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/utils/xml.h,v 1.2 2006/12/23 04:56:50 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/include/utils/xml.h,v 1.3 2006/12/24 00:29:20 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -27,11 +27,13 @@ typedef struct varlena xmltype;
|
||||
extern Datum xml_in(PG_FUNCTION_ARGS);
|
||||
extern Datum xml_out(PG_FUNCTION_ARGS);
|
||||
extern Datum xmlcomment(PG_FUNCTION_ARGS);
|
||||
extern Datum xmlparse(PG_FUNCTION_ARGS);
|
||||
extern Datum xmlpi(PG_FUNCTION_ARGS);
|
||||
extern Datum xmlroot(PG_FUNCTION_ARGS);
|
||||
extern Datum texttoxml(PG_FUNCTION_ARGS);
|
||||
extern Datum xmlvalidate(PG_FUNCTION_ARGS);
|
||||
|
||||
extern xmltype *xmlparse(text *data, bool is_doc, bool preserve_whitespace);
|
||||
extern xmltype *xmlpi(char *target, text *arg);
|
||||
extern xmltype *xmlroot(xmltype *data, text *version, int standalone);
|
||||
|
||||
extern char *map_sql_identifier_to_xml_name(char *ident, bool fully_escaped);
|
||||
|
||||
#endif /* XML_H */
|
||||
|
Reference in New Issue
Block a user