Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
2 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CREATE TABLE xmltest (
    id int,
    data xml
);
INSERT INTO xmltest VALUES (1, '<value>one</value>');
ERROR:  unsupported XML feature
LINE 1: INSERT INTO xmltest VALUES (1, '<value>one</value>');
                                       ^
DETAIL:  This functionality requires the server to be built with libxml support.
INSERT INTO xmltest VALUES (2, '<value>two</value>');
ERROR:  unsupported XML feature
LINE 1: INSERT INTO xmltest VALUES (2, '<value>two</value>');
                                       ^
DETAIL:  This functionality requires the server to be built with libxml support.
INSERT INTO xmltest VALUES (3, '<value>three</wrong>  ');
ERROR:  unsupported XML feature
LINE 1: INSERT INTO xmltest VALUES (3, '<value>three</wrong>  ');
                                       ^
DETAIL:  This functionality requires the server to be built with libxml support.
-- If no XML data could be inserted, skip the tests as the server has been
-- compiled without libxml support.
SELECT count(*) = 0 AS skip_test FROM xmltest \gset
\if :skip_test
\quit