Forum OpenACS Q&A: new to acs, need help with xowiki toc
http://www.openacs.org/xowiki/XoWiki_User_Guide
looks to cover what I am trying to do, but the images are gone so it's not much help.
I am really lost here and don't know what to do. Are there any other online resources that might be able to help me? Is this the best forum for XOwiki help or should I be posting elsewhere?
I have tired two approaches. The first is the insertion of this into a xowiki page:
{{toc -open_page de:imac -style folder}}
I am not sure what the parameters actually do(for instance, what does the de:imac mean?).
When inserting that code I get this error:
----------------------------------------------------------
Error in includelet 'toc' Database operation "select" failed (exception NSDB, "Query was not a statement returning rows.")
ERROR: column "page_order" does not exist
LINE 1: select page_id, page_order, name, title from xowiki_page_l...
^
SQL: select page_id, page_order, name, title from xowiki_page_live_revision p where parent_id = 19390 and not page_order is NULL
----------------------------------------------------------
I assume that this is because I have not made the proper installation to the db. How do I install the PostgreSQL module ltree on a windows system? Is that what I need?
I have also tried to change the parameter for the template_file from "view-default" to "view-book". However when doing so, I get this long error:
----------------------------------------------------------
can't read "navigation(count)": no such element in array
::xotcl::__#0u9 ::xotcl::Object->set
invoked from within
"my set navigation(count)"
(procedure "count" line 2)
::xotcl::__#0u9 ::xowiki::portlet::toc->count
invoked from within
"$i count"
invoked from within
"if {$i ne "" && ![$page exists __is_book_page]} {
set p [$i position]
set count [$i count]
if {$count == 0} {set count 1}
set book_relpos [for..."
("uplevel" body line 7)
invoked from within
"uplevel {
set title [[$package_id folder_id] title]
#ns_log notice "--including_page= $__including_page, portlet=$portlet"
set toc [$page include_port..."
(procedure "code::tcl::/var/lib/aolserver/dodss/packages/xowiki/www/view..." line 2)
invoked from within
"code::tcl::$__adp_stub"
invoked from within
"if { [file exists $__adp_stub.tcl] } {
# ensure that data source preparation procedure exists and is up-to-date
adp_init tcl $__adp_stub
..."
("uplevel" body line 3)
invoked from within
"uplevel {
if { [file exists $__adp_stub.tcl] } {
# ensure that data source preparation procedure exists and is up-to-date
adp_init t..."
(procedure "adp_prepare" line 2)
invoked from within
"adp_prepare "
(procedure "template::adp_parse" line 30)
invoked from within
"template::adp_parse [template::util::url_to_file $src] $varlist"
(procedure "template::adp_include" line 8)
invoked from within
"template::adp_include $adp $__vars"
(procedure "return_page" line 29)
::19369 ::xowiki::Package->return_page
invoked from within
"$package_id return_page -adp $template_file -variables {
references name title item_id page context header_stuff return_url
conten..."
(procedure "view" line 201)
::19394 ::xowiki::Page->view
invoked from within
"$object $method"
(procedure "call" line 7)
::19369 ::xowiki::Package->call
invoked from within
"my call $page $method"
(procedure "invoke" line 8)
::19369 ::xowiki::Package->invoke
invoked from within
"::$package_id invoke -method $m"
invoked from within
"::$package_id reply_to_user [::$package_id invoke -method $m]"
(file "/var/lib/aolserver/dodss/packages/xowiki/www/index.vuh" line 21)
invoked from within
"source [ad_conn file]"
(procedure "rp_handle_tcl_request" line 3)
invoked from within
"$handler"
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
$handler
} ad_script_abort val {
# do nothing
}"
invoked from within
"rp_serve_concrete_file [ad_conn file]"
(procedure "rp_serve_abstract_file" line 60)
invoked from within
"rp_serve_abstract_file "$root/$path""
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
rp_serve_abstract_file "$root/$path"
set tcl_url2file([ad_conn url]) [ad_conn file]
set tcl_url2path_info..."
----------------------------------------------------------
psql yourdb < /.../postgresql/contrib/ltree.sql
Right now I only have web access to the server. How would I actually run that command? I am not really familiar with Postgre( i usually work with sql server).
Is there any way to run that command through the web interface, or do I need another way?
Thank you.
Also the user that is used from the aolserver to connect to the database requires to have the right priveleges. Then you could, in case you know where the ltree sql is located execute that from the shell using
exec psql < ....
You could try to search for the ltree file from the shell using exec as well. With exec you can execute linux/unix commands from within tcl so you could try
exec locate ltree.sql
if findutils is installed or
exec find / -name 'ltree.sql'
But to be honest I would recommend contacting the system admin for help.
We do have the developer toolbar on here, so I will try it that way.
Thanks again.
Cheers,
Matthew
-------------------------------------------------------------
/usr/local/src/postgresql-7.4.6/contrib/ltree/ltree.sql.in
/usr/local/src/postgresql-7.4.6/contrib/ltree/sql/ltree.sql
/usr/local/src/postgresql-8.2.1/contrib/ltree/ltree.sql.in
/usr/local/src/postgresql-8.2.1/contrib/ltree/uninstall_ltree.sql
/usr/local/src/postgresql-8.2.1/contrib/ltree/sql/ltree.sql
/usr/local/src/postgresql-8.2.1-pre-upgrade/contrib/ltree/ltree.sql.in
/usr/local/src/postgresql-8.2.1-pre-upgrade/contrib/ltree/uninstall_ltree.sql
/usr/local/src/postgresql-8.2.1-pre-upgrade/contrib/ltree/sql/ltree.sql
-------------------------------------------------------------
I assume I want to run this one:
/usr/local/src/postgresql-8.2.1/contrib/ltree/sql/ltree.sql
I have tired the following but just get and error:
exec psql </usr/local/src/postgresql-8.2.1/contrib/ltree/sql/ltree.sql>
exec psql<ltree.sql>
exec psql<./usr/local/src/postgresql-8.2.1/contrib/ltree/sql/ltree.sql>
I am not really sure of the directory structure I am accessing so don't know how to resolve it.
Thank you.
/usr/local/src/postgresql-8.2.1/contrib/ltree/sql/ltree.sql
Try to locate the directory of psql and call it using the full path. Also make sure you have a space character around the smaller than character ' < '.
exec /pathto/psql < /usr/local/src/postgresql-8.2.1/contrib/ltree/sql/ltree.sql
exec psql > /usr/local/src/postgresql-8.2.1/contrib/ltree/sql/ltree.sql
However, this was the generated output:
------------------------------------------------------------
ERROR:
SELECT ''::ltree;
SELECT '1'::ltree;
SELECT '1.2'::ltree;
SELECT '1.2._3'::ltree;
SELECT ltree2text('1.2.3.34.sdf');
SELECT text2ltree('1.2.3.34.sdf');
SELECT subltree('Top.Child1.Child2',1,2);
SELECT subpath('Top.Child1.Child2',1,2);
SELECT subpath('Top.Child1.Child2',-1,1);
SELECT subpath('Top.Child1.Child2',0,-2);
SELECT subpath('Top.Child1.Child2',0,-1);
SELECT subpath('Top.Child1.Child2',0,0);
SELECT subpath('Top.Child1.Child2',1,0);
SELECT subpath('Top.Child1.Child2',0);
SELECT subpath('Top.Child1.Child2',1);
SELECT index('1.2.3.4.5.6','1.2');
SELECT index('a.1.2.3.4.5.6','1.2');
SELECT index('a.1.2.3.4.5.6','1.2.3');
SELECT index('a.1.2.3.4.5.6','1.2.3.j');
SELECT index('a.1.2.3.4.5.6','1.2.3.j.4.5.5.5.5.5.5');
SELECT index('a.1.2.3.4.5.6','1.2.3');
SELECT index('a.1.2.3.4.5.6','6');
SELECT index('a.1.2.3.4.5.6','6.1');
SELECT index('a.1.2.3.4.5.6','5.6');
SELECT index('0.1.2.3.5.4.5.6','5.6');
SELECT index('0.1.2.3.5.4.5.6.8.5.6.8','5.6',3);
SELECT index('0.1.2.3.5.4.5.6.8.5.6.8','5.6',6);
SELECT index('0.1.2.3.5.4.5.6.8.5.6.8','5.6',7);
SELECT index('0.1.2.3.5.4.5.6.8.5.6.8','5.6',-7);
SELECT index('0.1.2.3.5.4.5.6.8.5.6.8','5.6',-4);
SELECT index('0.1.2.3.5.4.5.6.8.5.6.8','5.6',-3);
SELECT index('0.1.2.3.5.4.5.6.8.5.6.8','5.6',-2);
SELECT index('0.1.2.3.5.4.5.6.8.5.6.8','5.6',-20000);
SELECT 'Top.Child1.Child2'::ltree || 'Child3'::text;
SELECT 'Top.Child1.Child2'::ltree || 'Child3'::ltree;
SELECT 'Top_0'::ltree || 'Top.Child1.Child2'::ltree;
SELECT 'Top.Child1.Child2'::ltree || ''::ltree;
SELECT ''::ltree || 'Top.Child1.Child2'::ltree;
SELECT lca('{la.2.3,1.2.3.4.5.6,""}') IS NULL;
SELECT lca('{la.2.3,1.2.3.4.5.6}') IS NULL;
SELECT lca('{1.la.2.3,1.2.3.4.5.6}');
SELECT lca('{1.2.3,1.2.3.4.5.6}');
SELECT lca('1.la.2.3','1.2.3.4.5.6');
SELECT lca('1.2.3','1.2.3.4.5.6');
SELECT lca('1.2.2.3','1.2.3.4.5.6');
SELECT lca('1.2.2.3','1.2.3.4.5.6','');
SELECT lca('1.2.2.3','1.2.3.4.5.6','2');
SELECT lca('1.2.2.3','1.2.3.4.5.6','1');
SELECT '1'::lquery;
SELECT '4|3|2'::lquery;
SELECT '1.2'::lquery;
SELECT '1.4|3|2'::lquery;
SELECT '1.0'::lquery;
SELECT '4|3|2.0'::lquery;
SELECT '1.2.0'::lquery;
SELECT '1.4|3|2.0'::lquery;
SELECT '1.*'::lquery;
SELECT '4|3|2.*'::lquery;
SELECT '1.2.*'::lquery;
SELECT '1.4|3|2.*'::lquery;
SELECT '*.1.*'::lquery;
SELECT '*.4|3|2.*'::lquery;
SELECT '*.1.2.*'::lquery;
SELECT '*.1.4|3|2.*'::lquery;
SELECT '1.*.4|3|2'::lquery;
SELECT '1.*.4|3|2.0'::lquery;
SELECT '1.*.4|3|2.*{1,4}'::lquery;
SELECT '1.*.4|3|2.*{,4}'::lquery;
SELECT '1.*.4|3|2.*{1,}'::lquery;
SELECT '1.*.4|3|2.*{1}'::lquery;
SELECT 'mailto:qwerty%@*.tu';::lquery;
SELECT nlevel('1.2.3.4');
SELECT '1.2'::ltree < '2.2'::ltree;
SELECT '1.2'::ltree <= '2.2'::ltree;
SELECT '2.2'::ltree = '2.2'::ltree;
SELECT '3.2'::ltree >= '2.2'::ltree;
SELECT '3.2'::ltree > '2.2'::ltree;
SELECT '1.2.3'::ltree @> '1.2.3.4'::ltree;
SELECT '1.2.3.4'::ltree @> '1.2.3.4'::ltree;
SELECT '1.2.3.4.5'::ltree @> '1.2.3.4'::ltree;
SELECT '1.3.3'::ltree @> '1.2.3.4'::ltree;
SELECT 'a.b.c.d.e'::ltree ~ 'a.b.c.d.e';
SELECT 'a.b.c.d.e'::ltree ~ 'A.b.c.d.e';
SELECT 'a.b.c.d.e'::ltree ~ 'A@.b.c.d.e';
SELECT 'aa.b.c.d.e'::ltree ~ 'A@.b.c.d.e';
SELECT 'aa.b.c.d.e'::ltree ~ 'A*.b.c.d.e';
SELECT 'aa.b.c.d.e'::ltree ~ 'A*@.b.c.d.e';
SELECT 'aa.b.c.d.e'::ltree ~ 'mailto:A*@|g.b.c.d.e';;
SELECT 'g.b.c.d.e'::ltree ~ 'mailto:A*@|g.b.c.d.e';;
SELECT 'a.b.c.d.e'::ltree ~ 'a.b.c.d.e';
SELECT 'a.b.c.d.e'::ltree ~ 'a.*.e';
SELECT 'a.b.c.d.e'::ltree ~ 'a.*{3}.e';
SELECT 'a.b.c.d.e'::ltree ~ 'a.*{2}.e';
SELECT 'a.b.c.d.e'::ltree ~ 'a.*{4}.e';
SELECT 'a.b.c.d.e'::ltree ~ 'a.*{,4}.e';
SELECT 'a.b.c.d.e'::ltree ~ 'a.*{2,}.e';
SELECT 'a.b.c.d.e'::ltree ~ 'a.*{2,4}.e';
SELECT 'a.b.c.d.e'::ltree ~ 'a.*{2,3}.e';
SELECT 'a.b.c.d.e'::ltree ~ 'a.*{2,3}';
SELECT 'a.b.c.d.e'::ltree ~ 'a.*{2,4}';
SELECT 'a.b.c.d.e'::ltree ~ 'a.*{2,5}';
SELECT 'a.b.c.d.e'::ltree ~ '*{2,3}.e';
SELECT 'a.b.c.d.e'::ltree ~ '*{2,4}.e';
SELECT 'a.b.c.d.e'::ltree ~ '*{2,5}.e';
SELECT 'a.b.c.d.e'::ltree ~ '*.e';
SELECT 'a.b.c.d.e'::ltree ~ '*.e.*';
SELECT 'a.b.c.d.e'::ltree ~ '*.d.*';
SELECT 'a.b.c.d.e'::ltree ~ '*.a.*.d.*';
SELECT 'a.b.c.d.e'::ltree ~ '*.!d.*';
SELECT 'a.b.c.d.e'::ltree ~ '*.!d';
SELECT 'a.b.c.d.e'::ltree ~ '!d.*';
SELECT 'a.b.c.d.e'::ltree ~ '!a.*';
SELECT 'a.b.c.d.e'::ltree ~ '*.!e';
SELECT 'a.b.c.d.e'::ltree ~ '*.!e.*';
SELECT 'a.b.c.d.e'::ltree ~ 'a.*.!e';
SELECT 'a.b.c.d.e'::ltree ~ 'a.*.!d';
SELECT 'a.b.c.d.e'::ltree ~ 'a.*.!d.*';
SELECT 'a.b.c.d.e'::ltree ~ 'a.*.!f.*';
SELECT 'a.b.c.d.e'::ltree ~ '*.a.*.!f.*';
SELECT 'a.b.c.d.e'::ltree ~ '*.a.*.!d.*';
SELECT 'a.b.c.d.e'::ltree ~ '*.a.!d.*';
SELECT 'a.b.c.d.e'::ltree ~ '*.a.!d';
SELECT 'a.b.c.d.e'::ltree ~ 'a.!d.*';
SELECT 'a.b.c.d.e'::ltree ~ '*.a.*.!d.*';
SELECT 'a.b.c.d.e'::ltree ~ '*.!b.*';
SELECT 'a.b.c.d.e'::ltree ~ '*.!b.c.*';
SELECT 'a.b.c.d.e'::ltree ~ '*.!b.*.c.*';
SELECT 'a.b.c.d.e'::ltree ~ '!b.*.c.*';
SELECT 'a.b.c.d.e'::ltree ~ '!b.b.*';
SELECT 'a.b.c.d.e'::ltree ~ '!b.*.e';
SELECT 'a.b.c.d.e'::ltree ~ '!b.!c.*.e';
SELECT 'a.b.c.d.e'::ltree ~ '!b.*.!c.*.e';
SELECT 'a.b.c.d.e'::ltree ~ '*{2}.!b.*.!c.*.e';
SELECT 'a.b.c.d.e'::ltree ~ '*{1}.!b.*.!c.*.e';
SELECT 'a.b.c.d.e'::ltree ~ '*{1}.!b.*{1}.!c.*.e';
SELECT 'a.b.c.d.e'::ltree ~ 'a.!b.*{1}.!c.*.e';
SELECT 'a.b.c.d.e'::ltree ~ '!b.*{1}.!c.*.e';
SELECT 'a.b.c.d.e'::ltree ~ '*.!b.*{1}.!c.*.e';
SELECT 'a.b.c.d.e'::ltree ~ '*.!b.*.!c.*.e';
SELECT 'a.b.c.d.e'::ltree ~ '!b.!c.*';
SELECT 'a.b.c.d.e'::ltree ~ '!b.*.!c.*';
SELECT 'a.b.c.d.e'::ltree ~ '*{2}.!b.*.!c.*';
SELECT 'a.b.c.d.e'::ltree ~ '*{1}.!b.*.!c.*';
SELECT 'a.b.c.d.e'::ltree ~ '*{1}.!b.*{1}.!c.*';
SELECT 'a.b.c.d.e'::ltree ~ 'a.!b.*{1}.!c.*';
SELECT 'a.b.c.d.e'::ltree ~ '!b.*{1}.!c.*';
SELECT 'a.b.c.d.e'::ltree ~ '*.!b.*{1}.!c.*';
SELECT 'a.b.c.d.e'::ltree ~ '*.!b.*.!c.*';
SELECT 'QWER_TY'::ltree ~ 'q%@*';
SELECT 'QWER_TY'::ltree ~ 'Q_t%@*';
SELECT 'QWER_GY'::ltree ~ 'q_t%@*';
--ltxtquery
SELECT '!tree & aWdf@*'::ltxtquery;
SELECT 'tree & aw_qw%*'::ltxtquery;
SELECT 'ltree.awdfg'::ltree @ '!tree & aWdf@*'::ltxtquery;
SELECT 'tree.awdfg'::ltree @ '!tree & aWdf@*'::ltxtquery;
SELECT 'tree.awdfg'::ltree @ '!tree | aWdf@*'::ltxtquery;
SELECT 'tree.awdfg'::ltree @ 'tree | aWdf@*'::ltxtquery;
SELECT 'tree.awdfg'::ltree @ 'tree & aWdf@*'::ltxtquery;
SELECT 'tree.awdfg'::ltree @ 'tree & aWdf@'::ltxtquery;
SELECT 'tree.awdfg'::ltree @ 'tree & aWdf*'::ltxtquery;
SELECT 'tree.awdfg'::ltree @ 'tree & aWdf'::ltxtquery;
SELECT 'tree.awdfg'::ltree @ 'tree & awdf*'::ltxtquery;
SELECT 'tree.awdfg'::ltree @ 'tree & aWdfg@'::ltxtquery;
SELECT 'tree.awdfg_qwerty'::ltree @ 'tree & aw_qw%*'::ltxtquery;
SELECT 'tree.awdfg_qwerty'::ltree @ 'tree & aw_rw%*'::ltxtquery;
--arrays
SELECT '{1.2.3}'::ltree[] @> '1.2.3.4';
SELECT '{1.2.3.4}'::ltree[] @> '1.2.3.4';
SELECT '{1.2.3.4.5}'::ltree[] @> '1.2.3.4';
SELECT '{1.3.3}'::ltree[] @> '1.2.3.4';
SELECT '{5.67.8, 1.2.3}'::ltree[] @> '1.2.3.4';
SELECT '{5.67.8, 1.2.3.4}'::ltree[] @> '1.2.3.4';
SELECT '{5.67.8, 1.2.3.4.5}'::ltree[] @> '1.2.3.4';
SELECT '{5.67.8, 1.3.3}'::ltree[] @> '1.2.3.4';
SELECT '{1.2.3, 7.12.asd}'::ltree[] @> '1.2.3.4';
SELECT '{1.2.3.4, 7.12.asd}'::ltree[] @> '1.2.3.4';
SELECT '{1.2.3.4.5, 7.12.asd}'::ltree[] @> '1.2.3.4';
SELECT '{1.3.3, 7.12.asd}'::ltree[] @> '1.2.3.4';
SELECT '{ltree.asd, tree.awdfg}'::ltree[] @ 'tree & aWdfg@'::ltxtquery;
SELECT '{j.k.l.m, g.b.c.d.e}'::ltree[] ~ 'mailto:A*@|g.b.c.d.e';;
SELECT 'a.b.c.d.e'::ltree ? '{A.b.c.d.e}';
SELECT 'a.b.c.d.e'::ltree ? '{a.b.c.d.e}';
SELECT 'a.b.c.d.e'::ltree ? '{A.b.c.d.e, a.*}';
SELECT '{a.b.c.d.e,B.df}'::ltree[] ? '{A.b.c.d.e}';
SELECT '{a.b.c.d.e,B.df}'::ltree[] ? '{A.b.c.d.e,*.df}';
--exractors
SELECT ('{3456,1.2.3.34}'::ltree[] ?@> '1.2.3.4') is null;
SELECT '{3456,1.2.3}'::ltree[] ?@> '1.2.3.4';
SELECT '{3456,1.2.3.4}'::ltree[] ?<@ '1.2.3';
SELECT ('{3456,1.2.3.4}'::ltree[] ?<@ '1.2.5') is null;
SELECT '{ltree.asd, tree.awdfg}'::ltree[] ?@ 'tree & aWdfg@'::ltxtquery;
SELECT '{j.k.l.m, g.b.c.d.e}'::ltree[] ?~ 'mailto:A*@|g.b.c.d.e';;
CREATE TABLE ltreetest (t ltree);
\copy ltreetest FROM 'data/ltree.data'
SELECT * FROM ltreetest WHERE t < '12.3' order by t asc;
SELECT * FROM ltreetest WHERE t <= '12.3' order by t asc;
SELECT * FROM ltreetest WHERE t = '12.3' order by t asc;
SELECT * FROM ltreetest WHERE t >= '12.3' order by t asc;
SELECT * FROM ltreetest WHERE t > '12.3' order by t asc;
SELECT * FROM ltreetest WHERE t @> '1.1.1' order by t asc;
SELECT * FROM ltreetest WHERE t <@ '1.1.1' order by t asc;
SELECT * FROM ltreetest WHERE t @ '23 & 1' order by t asc;
SELECT * FROM ltreetest WHERE t ~ '1.1.1.*' order by t asc;
SELECT * FROM ltreetest WHERE t ~ '*.1' order by t asc;
SELECT * FROM ltreetest WHERE t ~ '23.*{1}.1' order by t asc;
SELECT * FROM ltreetest WHERE t ~ '23.*.1' order by t asc;
SELECT * FROM ltreetest WHERE t ~ '23.*.2' order by t asc;
SELECT * FROM ltreetest WHERE t ? '{23.*.1,23.*.2}' order by t asc;
create unique index tstidx on ltreetest (t);
set enable_seqscan=off;
SET
SELECT * FROM ltreetest WHERE t < '12.3' order by t asc;
SELECT * FROM ltreetest WHERE t <= '12.3' order by t asc;
SELECT * FROM ltreetest WHERE t = '12.3' order by t asc;
SELECT * FROM ltreetest WHERE t >= '12.3' order by t asc;
SELECT * FROM ltreetest WHERE t > '12.3' order by t asc;
drop index tstidx;
create index tstidx on ltreetest using gist (t);
set enable_seqscan=off;
SET
SELECT * FROM ltreetest WHERE t < '12.3' order by t asc;
SELECT * FROM ltreetest WHERE t <= '12.3' order by t asc;
SELECT * FROM ltreetest WHERE t = '12.3' order by t asc;
SELECT * FROM ltreetest WHERE t >= '12.3' order by t asc;
SELECT * FROM ltreetest WHERE t > '12.3' order by t asc;
SELECT * FROM ltreetest WHERE t @> '1.1.1' order by t asc;
SELECT * FROM ltreetest WHERE t <@ '1.1.1' order by t asc;
SELECT * FROM ltreetest WHERE t @ '23 & 1' order by t asc;
SELECT * FROM ltreetest WHERE t ~ '1.1.1.*' order by t asc;
SELECT * FROM ltreetest WHERE t ~ '*.1' order by t asc;
SELECT * FROM ltreetest WHERE t ~ '23.*{1}.1' order by t asc;
SELECT * FROM ltreetest WHERE t ~ '23.*.1' order by t asc;
SELECT * FROM ltreetest WHERE t ~ '23.*.2' order by t asc;
SELECT * FROM ltreetest WHERE t ? '{23.*.1,23.*.2}' order by t asc;
create table _ltreetest (t ltree[]);
\copy _ltreetest FROM 'data/_ltree.data'
SELECT count(*) FROM _ltreetest WHERE t @> '1.1.1' ;
SELECT count(*) FROM _ltreetest WHERE t <@ '1.1.1' ;
SELECT count(*) FROM _ltreetest WHERE t @ '23 & 1' ;
SELECT count(*) FROM _ltreetest WHERE t ~ '1.1.1.*' ;
SELECT count(*) FROM _ltreetest WHERE t ~ '*.1' ;
SELECT count(*) FROM _ltreetest WHERE t ~ '23.*{1}.1' ;
SELECT count(*) FROM _ltreetest WHERE t ~ '23.*.1' ;
SELECT count(*) FROM _ltreetest WHERE t ~ '23.*.2' ;
SELECT count(*) FROM _ltreetest WHERE t ? '{23.*.1,23.*.2}' ;
create index _tstidx on _ltreetest using gist (t);
set enable_seqscan=off;
SET
SELECT count(*) FROM _ltreetest WHERE t @> '1.1.1' ;
SELECT count(*) FROM _ltreetest WHERE t <@ '1.1.1' ;
SELECT count(*) FROM _ltreetest WHERE t @ '23 & 1' ;
SELECT count(*) FROM _ltreetest WHERE t ~ '1.1.1.*' ;
SELECT count(*) FROM _ltreetest WHERE t ~ '*.1' ;
SELECT count(*) FROM _ltreetest WHERE t ~ '23.*{1}.1' ;
SELECT count(*) FROM _ltreetest WHERE t ~ '23.*.1' ;
SELECT count(*) FROM _ltreetest WHERE t ~ '23.*.2' ;
SELECT count(*) FROM _ltreetest WHERE t ? '{23.*.1,23.*.2}' ;
ltree.sql: No such file or directory
ERROR: type "ltree" does not exist
LINE 1: SELECT ''::ltree;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT '1'::ltree;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT '1.2'::ltree;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT '1.2._3'::ltree;
^
ERROR: function ltree2text("unknown") does not exist
LINE 1: SELECT ltree2text('1.2.3.34.sdf');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function text2ltree("unknown") does not exist
LINE 1: SELECT text2ltree('1.2.3.34.sdf');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function subltree("unknown", integer, integer) does not exist
LINE 1: SELECT subltree('Top.Child1.Child2',1,2);
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function subpath("unknown", integer, integer) does not exist
LINE 1: SELECT subpath('Top.Child1.Child2',1,2);
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function subpath("unknown", integer, integer) does not exist
LINE 1: SELECT subpath('Top.Child1.Child2',-1,1);
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function subpath("unknown", integer, integer) does not exist
LINE 1: SELECT subpath('Top.Child1.Child2',0,-2);
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function subpath("unknown", integer, integer) does not exist
LINE 1: SELECT subpath('Top.Child1.Child2',0,-1);
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function subpath("unknown", integer, integer) does not exist
LINE 1: SELECT subpath('Top.Child1.Child2',0,0);
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function subpath("unknown", integer, integer) does not exist
LINE 1: SELECT subpath('Top.Child1.Child2',1,0);
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function subpath("unknown", integer) does not exist
LINE 1: SELECT subpath('Top.Child1.Child2',0);
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function subpath("unknown", integer) does not exist
LINE 1: SELECT subpath('Top.Child1.Child2',1);
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function index("unknown", "unknown") does not exist
LINE 1: SELECT index('1.2.3.4.5.6','1.2');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function index("unknown", "unknown") does not exist
LINE 1: SELECT index('a.1.2.3.4.5.6','1.2');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function index("unknown", "unknown") does not exist
LINE 1: SELECT index('a.1.2.3.4.5.6','1.2.3');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function index("unknown", "unknown") does not exist
LINE 1: SELECT index('a.1.2.3.4.5.6','1.2.3.j');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function index("unknown", "unknown") does not exist
LINE 1: SELECT index('a.1.2.3.4.5.6','1.2.3.j.4.5.5.5.5.5.5');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function index("unknown", "unknown") does not exist
LINE 1: SELECT index('a.1.2.3.4.5.6','1.2.3');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function index("unknown", "unknown") does not exist
LINE 1: SELECT index('a.1.2.3.4.5.6','6');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function index("unknown", "unknown") does not exist
LINE 1: SELECT index('a.1.2.3.4.5.6','6.1');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function index("unknown", "unknown") does not exist
LINE 1: SELECT index('a.1.2.3.4.5.6','5.6');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function index("unknown", "unknown") does not exist
LINE 1: SELECT index('0.1.2.3.5.4.5.6','5.6');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function index("unknown", "unknown", integer) does not exist
LINE 1: SELECT index('0.1.2.3.5.4.5.6.8.5.6.8','5.6',3);
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function index("unknown", "unknown", integer) does not exist
LINE 1: SELECT index('0.1.2.3.5.4.5.6.8.5.6.8','5.6',6);
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function index("unknown", "unknown", integer) does not exist
LINE 1: SELECT index('0.1.2.3.5.4.5.6.8.5.6.8','5.6',7);
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function index("unknown", "unknown", integer) does not exist
LINE 1: SELECT index('0.1.2.3.5.4.5.6.8.5.6.8','5.6',-7);
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function index("unknown", "unknown", integer) does not exist
LINE 1: SELECT index('0.1.2.3.5.4.5.6.8.5.6.8','5.6',-4);
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function index("unknown", "unknown", integer) does not exist
LINE 1: SELECT index('0.1.2.3.5.4.5.6.8.5.6.8','5.6',-3);
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function index("unknown", "unknown", integer) does not exist
LINE 1: SELECT index('0.1.2.3.5.4.5.6.8.5.6.8','5.6',-2);
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function index("unknown", "unknown", integer) does not exist
LINE 1: SELECT index('0.1.2.3.5.4.5.6.8.5.6.8','5.6',-20000);
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: type "ltree" does not exist
LINE 1: SELECT 'Top.Child1.Child2'::ltree || 'Child3'::text;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'Top.Child1.Child2'::ltree || 'Child3'::ltree;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'Top_0'::ltree || 'Top.Child1.Child2'::ltree;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'Top.Child1.Child2'::ltree || ''::ltree;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT ''::ltree || 'Top.Child1.Child2'::ltree;
^
ERROR: function lca("unknown") does not exist
LINE 1: SELECT lca('{la.2.3,1.2.3.4.5.6,""}') IS NULL;
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function lca("unknown") does not exist
LINE 1: SELECT lca('{la.2.3,1.2.3.4.5.6}') IS NULL;
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function lca("unknown") does not exist
LINE 1: SELECT lca('{1.la.2.3,1.2.3.4.5.6}');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function lca("unknown") does not exist
LINE 1: SELECT lca('{1.2.3,1.2.3.4.5.6}');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function lca("unknown", "unknown") does not exist
LINE 1: SELECT lca('1.la.2.3','1.2.3.4.5.6');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function lca("unknown", "unknown") does not exist
LINE 1: SELECT lca('1.2.3','1.2.3.4.5.6');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function lca("unknown", "unknown") does not exist
LINE 1: SELECT lca('1.2.2.3','1.2.3.4.5.6');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function lca("unknown", "unknown", "unknown") does not exist
LINE 1: SELECT lca('1.2.2.3','1.2.3.4.5.6','');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function lca("unknown", "unknown", "unknown") does not exist
LINE 1: SELECT lca('1.2.2.3','1.2.3.4.5.6','2');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: function lca("unknown", "unknown", "unknown") does not exist
LINE 1: SELECT lca('1.2.2.3','1.2.3.4.5.6','1');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: type "lquery" does not exist
LINE 1: SELECT '1'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '4|3|2'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '1.2'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '1.4|3|2'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '1.0'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '4|3|2.0'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '1.2.0'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '1.4|3|2.0'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '1.*'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '4|3|2.*'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '1.2.*'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '1.4|3|2.*'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '*.1.*'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '*.4|3|2.*'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '*.1.2.*'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '*.1.4|3|2.*'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '1.*.4|3|2'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '1.*.4|3|2.0'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '1.*.4|3|2.*{1,4}'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '1.*.4|3|2.*{,4}'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '1.*.4|3|2.*{1,}'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT '1.*.4|3|2.*{1}'::lquery;
^
ERROR: type "lquery" does not exist
LINE 1: SELECT 'mailto:qwerty%@*.tu';::lquery;
^
ERROR: function nlevel("unknown") does not exist
LINE 1: SELECT nlevel('1.2.3.4');
^
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
ERROR: type "ltree" does not exist
LINE 1: SELECT '1.2'::ltree < '2.2'::ltree;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT '1.2'::ltree <= '2.2'::ltree;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT '2.2'::ltree = '2.2'::ltree;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT '3.2'::ltree >= '2.2'::ltree;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT '3.2'::ltree > '2.2'::ltree;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT '1.2.3'::ltree @> '1.2.3.4'::ltree;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT '1.2.3.4'::ltree @> '1.2.3.4'::ltree;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT '1.2.3.4.5'::ltree @> '1.2.3.4'::ltree;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT '1.3.3'::ltree @> '1.2.3.4'::ltree;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'a.b.c.d.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'A.b.c.d.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'A@.b.c.d.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'aa.b.c.d.e'::ltree ~ 'A@.b.c.d.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'aa.b.c.d.e'::ltree ~ 'A*.b.c.d.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'aa.b.c.d.e'::ltree ~ 'A*@.b.c.d.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'aa.b.c.d.e'::ltree ~ 'mailto:A*@|g.b.c.d.e';;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'g.b.c.d.e'::ltree ~ 'mailto:A*@|g.b.c.d.e';;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'a.b.c.d.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'a.*.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'a.*{3}.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'a.*{2}.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'a.*{4}.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'a.*{,4}.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'a.*{2,}.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'a.*{2,4}.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'a.*{2,3}.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'a.*{2,3}';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'a.*{2,4}';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'a.*{2,5}';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*{2,3}.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*{2,4}.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*{2,5}.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*.e.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*.d.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*.a.*.d.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*.!d.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*.!d';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '!d.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '!a.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*.!e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*.!e.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'a.*.!e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'a.*.!d';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'a.*.!d.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'a.*.!f.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*.a.*.!f.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*.a.*.!d.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*.a.!d.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*.a.!d';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'a.!d.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*.a.*.!d.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*.!b.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*.!b.c.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*.!b.*.c.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '!b.*.c.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '!b.b.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '!b.*.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '!b.!c.*.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '!b.*.!c.*.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*{2}.!b.*.!c.*.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*{1}.!b.*.!c.*.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*{1}.!b.*{1}.!c.*.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'a.!b.*{1}.!c.*.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '!b.*{1}.!c.*.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*.!b.*{1}.!c.*.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*.!b.*.!c.*.e';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '!b.!c.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '!b.*.!c.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*{2}.!b.*.!c.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*{1}.!b.*.!c.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*{1}.!b.*{1}.!c.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ 'a.!b.*{1}.!c.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '!b.*{1}.!c.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*.!b.*{1}.!c.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ~ '*.!b.*.!c.*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'QWER_TY'::ltree ~ 'q%@*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'QWER_TY'::ltree ~ 'Q_t%@*';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'QWER_GY'::ltree ~ 'q_t%@*';
^
ERROR: type "ltxtquery" does not exist
LINE 1: SELECT '!tree & aWdf@*'::ltxtquery;
^
ERROR: type "ltxtquery" does not exist
LINE 1: SELECT 'tree & aw_qw%*'::ltxtquery;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'ltree.awdfg'::ltree @ '!tree & aWdf@*'::ltxtquery;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'tree.awdfg'::ltree @ '!tree & aWdf@*'::ltxtquery;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'tree.awdfg'::ltree @ '!tree | aWdf@*'::ltxtquery;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'tree.awdfg'::ltree @ 'tree | aWdf@*'::ltxtquery;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'tree.awdfg'::ltree @ 'tree & aWdf@*'::ltxtquery;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'tree.awdfg'::ltree @ 'tree & aWdf@'::ltxtquery;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'tree.awdfg'::ltree @ 'tree & aWdf*'::ltxtquery;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'tree.awdfg'::ltree @ 'tree & aWdf'::ltxtquery;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'tree.awdfg'::ltree @ 'tree & awdf*'::ltxtquery;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'tree.awdfg'::ltree @ 'tree & aWdfg@'::ltxtquery;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'tree.awdfg_qwerty'::ltree @ 'tree & aw_qw%*'::ltxtqu...
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'tree.awdfg_qwerty'::ltree @ 'tree & aw_rw%*'::ltxtqu...
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT '{1.2.3}'::ltree[] @> '1.2.3.4';
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT '{1.2.3.4}'::ltree[] @> '1.2.3.4';
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT '{1.2.3.4.5}'::ltree[] @> '1.2.3.4';
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT '{1.3.3}'::ltree[] @> '1.2.3.4';
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT '{5.67.8, 1.2.3}'::ltree[] @> '1.2.3.4';
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT '{5.67.8, 1.2.3.4}'::ltree[] @> '1.2.3.4';
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT '{5.67.8, 1.2.3.4.5}'::ltree[] @> '1.2.3.4';
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT '{5.67.8, 1.3.3}'::ltree[] @> '1.2.3.4';
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT '{1.2.3, 7.12.asd}'::ltree[] @> '1.2.3.4';
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT '{1.2.3.4, 7.12.asd}'::ltree[] @> '1.2.3.4';
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT '{1.2.3.4.5, 7.12.asd}'::ltree[] @> '1.2.3.4';
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT '{1.3.3, 7.12.asd}'::ltree[] @> '1.2.3.4';
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT '{ltree.asd, tree.awdfg}'::ltree[] @ 'tree & aWdfg@':...
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT '{j.k.l.m, g.b.c.d.e}'::ltree[] ~ 'mailto:A*@|g.b.c.d.e';;
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ? '{A.b.c.d.e}';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ? '{a.b.c.d.e}';
^
ERROR: type "ltree" does not exist
LINE 1: SELECT 'a.b.c.d.e'::ltree ? '{A.b.c.d.e, a.*}';
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT '{a.b.c.d.e,B.df}'::ltree[] ? '{A.b.c.d.e}';
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT '{a.b.c.d.e,B.df}'::ltree[] ? '{A.b.c.d.e,*.df}';
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT ('{3456,1.2.3.34}'::ltree[] ?@> '1.2.3.4') is null;
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT '{3456,1.2.3}'::ltree[] ?@> '1.2.3.4';
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT '{3456,1.2.3.4}'::ltree[] ?<@ '1.2.3';
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT ('{3456,1.2.3.4}'::ltree[] ?<@ '1.2.5') is null;
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT '{ltree.asd, tree.awdfg}'::ltree[] ?@ 'tree & aWdfg@'...
^
ERROR: type "ltree[]" does not exist
LINE 1: SELECT '{j.k.l.m, g.b.c.d.e}'::ltree[] ?~ 'mailto:A*@|g.b.c.d.e';;
^
ERROR: type "ltree" does not exist
LINE 1: CREATE TABLE ltreetest (t ltree);
^
data/ltree.data: No such file or directory
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: index "tstidx" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: relation "ltreetest" does not exist
ERROR: type "ltree[]" does not exist
LINE 1: create table _ltreetest (t ltree[]);
^
data/_ltree.data: No such file or directory
ERROR: relation "_ltreetest" does not exist
ERROR: relation "_ltreetest" does not exist
ERROR: relation "_ltreetest" does not exist
ERROR: relation "_ltreetest" does not exist
ERROR: relation "_ltreetest" does not exist
ERROR: relation "_ltreetest" does not exist
ERROR: relation "_ltreetest" does not exist
ERROR: relation "_ltreetest" does not exist
ERROR: relation "_ltreetest" does not exist
ERROR: relation "_ltreetest" does not exist
ERROR: relation "_ltreetest" does not exist
ERROR: relation "_ltreetest" does not exist
ERROR: relation "_ltreetest" does not exist
ERROR: relation "_ltreetest" does not exist
ERROR: relation "_ltreetest" does not exist
ERROR: relation "_ltreetest" does not exist
ERROR: relation "_ltreetest" does not exist
ERROR: relation "_ltreetest" does not exist
ERROR: relation "_ltreetest" does not exist
while executing
"exec psql < /usr/local/src/postgresql-8.2.1/contrib/ltree/sql/ltree.sql"
("uplevel" body line 1)
invoked from within
"uplevel 1 $script"
newer version of toc (in cvs head) do not require ltree (and work as well on oracle)
Thank you.
I was browsing through http://cvs.openacs.org/cvs/, is that the correct place to look? Where under there is the new version, if that is where to look?
Thank you.
If you have at least OpenACS 5.3, then browse to http://YOURHOSTANDDOMAIN/acs-admin/install and click on "upgrade from repository", and you get the latest stable version installed.