Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
43666e82
Commit
43666e82
authored
Apr 05, 2007
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve documentation/warning when --with-libxml is not used in the
installation.
parent
618aec73
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
doc/src/sgml/datatype.sgml
doc/src/sgml/datatype.sgml
+5
-3
doc/src/sgml/func.sgml
doc/src/sgml/func.sgml
+4
-2
src/backend/utils/adt/xml.c
src/backend/utils/adt/xml.c
+2
-2
No files found.
doc/src/sgml/datatype.sgml
View file @
43666e82
<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.19
3 2007/04/02 15:27:02 petere
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.19
4 2007/04/05 01:46:27 momjian
Exp $ -->
<chapter id="datatype">
<title id="datatype-title">Data Types</title>
...
...
@@ -3202,11 +3202,13 @@ SELECT * FROM test;
advantage over storing XML data in a <type>text</type> field is that it
checks the input values for well-formedness, and there are support
functions to perform type-safe operations on it; see <xref
linkend="functions-xml">.
linkend="functions-xml">. Use of this data type requires the
installation to have been built with <command>configure
--with-libxml</>.
</para>
<para>
In particular, t
he <type>xml</type> type can store well-formed
T
he <type>xml</type> type can store well-formed
<quote>documents</quote>, as defined by the XML standard, as well
as <quote>content</quote> fragments, which are defined by the
production <literal>XMLDecl? content</literal> in the XML
...
...
doc/src/sgml/func.sgml
View file @
43666e82
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.37
4 2007/04/02 15:27:02 petere
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.37
5 2007/04/05 01:46:27 momjian
Exp $ -->
<chapter
id=
"functions"
>
<title>
Functions and Operators
</title>
...
...
@@ -7511,7 +7511,9 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
linkend=
"datatype-xml"
>
for information about the
<type>
xml
</type>
type. The function-like expressions
<function>
xmlparse
</function>
and
<function>
xmlserialize
</function>
for converting to and from
type
<type>
xml
</type>
are not repeated here.
type
<type>
xml
</type>
are not repeated here. Use of many of these
<type>
xml
</type>
functions requires the installation to have been built
with
<command>
configure --with-libxml
</>
.
</para>
<sect2>
...
...
src/backend/utils/adt/xml.c
View file @
43666e82
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.
39 2007/04/02 03:49:39 tgl
Exp $
* $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.
40 2007/04/05 01:46:27 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -112,7 +112,7 @@ XmlOptionType xmloption;
#define NO_XML_SUPPORT() \
ereport(ERROR, \
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED), \
errmsg("
no XML
support in this installation")))
errmsg("
feature not supported; no libxml
support in this installation")))
#define _textin(str) DirectFunctionCall1(textin, CStringGetDatum(str))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment