mirror of
https://git.freebsd.org/ports.git
synced 2025-06-18 11:10:32 -04:00
Changes since 0.9.6: - SQL database schemas were changed: LXR databases need upgrade, the port will give instructions; - lots of improvements in parser to enable it not to lose context when escape characters are used; C, C++, Perl and Python parsers are validated for these changes; - 'find' script was removed: its functionality is integrated into the search pages; - generic.conf: 'langid' was changed, so non C/C++ must be reindexed; - generic.conf: 'spec' syntax changed, it may capture more identifiers; - lxr.conf: default tab width was changed for some languages inside the 'filetype' block; - lxr.conf: more file extensions are considered to be graphic files (see parameter 'graphicfile'); - lxr.conf: new parameters, 'treeextract' and 'encoding'. QA page: http://codelabs.ru/fbsd/ports/qa/devel/lxr/0.9.10 Feature safe: yes
20 lines
507 B
Text
20 lines
507 B
Text
PostgreSQL setup
|
|
================
|
|
|
|
Create a user for lxr and give the user permission to create databases:
|
|
createuser -P lxr
|
|
Create a database for lxr:
|
|
createdb -O lxr lxr
|
|
Initialise the database:
|
|
psql -U lxr lxr
|
|
\i %%LXRDIR%%/initdb-postgres
|
|
Just ignore the errors about unimplemented functions.
|
|
|
|
|
|
Database upgrade between releases
|
|
=================================
|
|
|
|
0.9.6 -> 0.9.10:
|
|
psql -U lxrr lxr
|
|
\i %%LXRDIR%%/upgrade-0.9.10-postgres
|
|
|