1
corne
PostgreSQL
  • 2005/1/20 14:26

  • corne

  • Just popping in

  • Posts: 24

  • Since: 2005/1/12


I have XOOPS running with postgreSQL, also the standard modules are working.
Only when I download a module and create a postgreSQL file, XOOPS says there is an SQL error..

This is the SQL file that I have created from a mySQL dump:

--
-- 
Table structure for table `xf_activity_log`
--

CREATE TABLE xf_activity_log (
  
day int NOT NULL default '0',
  
hour int NOT NULL default '0',
  
group_id int NOT NULL default '0',
  
browser varchar(8NOT NULL default 'OTHER',
  
ver double NOT NULL default '0',
  
platform varchar(8NOT NULL default 'OTHER',
  
time int NOT NULL default '0',
  
page text,
  
type int NOT NULL default '0'
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_artifact`
--

CREATE TABLE xf_artifact (
  
artifact_id SERIAL,
  
group_artifact_id int NOT NULL default '0',
  
status_id int NOT NULL default '1',
  
category_id int NOT NULL default '100',
  
artifact_group_id int NOT NULL default '0',
  
resolution_id int NOT NULL default '100',
  
priority int NOT NULL default '5',
  
submitted_by int NOT NULL default '100',
  
assigned_to int NOT NULL default '100',
  
open_date int NOT NULL,
  
close_date int NOT NULL,
  
summary text NOT NULL,
  
details text NOT NULL,
  
PRIMARY KEY (artifact_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_artifact_canned_responses`
--

CREATE TABLE xf_artifact_canned_responses (
  
id SERIAL,
  
group_artifact_id int NOT NULL default '0',
  
title text NOT NULL,
  
body text NOT NULL,
  
PRIMARY KEY (id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_artifact_category`
--

CREATE TABLE xf_artifact_category (
  
id SERIAL,
  
group_artifact_id int NOT NULL default '0',
  
category_name text NOT NULL,
  
auto_assign_to int NOT NULL default '100',
  
PRIMARY KEY (id)
) ;

-- --------------------------------------------------------

INSERT INTO xf_artifact_category (idgroup_artifact_idcategory_nameauto_assign_toVALUES (100101'None'100);
INSERT INTO xf_artifact_category (idgroup_artifact_idcategory_nameauto_assign_toVALUES (1101'Project Registration Issue'100);
INSERT INTO xf_artifact_category (idgroup_artifact_idcategory_nameauto_assign_toVALUES (2101'Project Administration'100);
INSERT INTO xf_artifact_category (idgroup_artifact_idcategory_nameauto_assign_toVALUES (3101'Offtopic'100);
INSERT INTO xf_artifact_category (idgroup_artifact_idcategory_nameauto_assign_toVALUES (4103'Layout'100);
INSERT INTO xf_artifact_category (idgroup_artifact_idcategory_nameauto_assign_toVALUES (5103'Project Registration Process'100);

--
-- 
Table structure for table `xf_artifact_counts_agg`
--

CREATE TABLE xf_artifact_counts_agg (
  
group_artifact_id int NOT NULL default '0',
  
count int NOT NULL default '0',
  
open_count int NOT NULL default '0',
  
PRIMARY KEY (group_artifact_id)
) ;

-- --------------------------------------------------------

INSERT INTO xf_artifact_counts_agg (group_artifact_idcountopen_countVALUES (10000);
INSERT INTO xf_artifact_counts_agg (group_artifact_idcountopen_countVALUES (10100);
INSERT INTO xf_artifact_counts_agg (group_artifact_idcountopen_countVALUES (10200);
INSERT INTO xf_artifact_counts_agg (group_artifact_idcountopen_countVALUES (10300);

--
-- 
Table structure for table `xf_artifact_file`
--

CREATE TABLE xf_artifact_file (
  
id SERIAL,
  
artifact_id int NOT NULL default '0',
  
description text NOT NULL,
  
bin_data longtext NOT NULL,
  
filename text NOT NULL,
  
filesize int NOT NULL default '0',
  
filetype text NOT NULL,
  
adddate int NOT NULL,
  
submitted_by int NOT NULL default '0',
  
PRIMARY KEY (id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_artifact_group`
--

CREATE TABLE xf_artifact_group (
  
id SERIAL,
  
group_artifact_id int NOT NULL default '0',
  
group_name text NOT NULL,
  
PRIMARY KEY (id)
) ;

-- --------------------------------------------------------

INSERT INTO xf_artifact_group (idgroup_artifact_idgroup_nameVALUES (100100'None');

--
-- 
Table structure for table `xf_artifact_group_list`
--

CREATE TABLE xf_artifact_group_list (
  
group_artifact_id SERIAL,
  
group_id int NOT NULL default '0',
  
name text,
  
description text,
  
is_public int NOT NULL default '0',
  
allow_anon int NOT NULL default '0',
  
email_all_updates int NOT NULL,
  
email_address text NOT NULL,
  
due_period int NOT NULL default '2592000',
  
use_resolution int NOT NULL default '0',
  
submit_instructions text,
  
browse_instructions text,
  
datatype int NOT NULL default '0',
  
status_timeout int default NULL,
  
PRIMARY KEY (group_artifact_id)
) ;

-- --------------------------------------------------------

INSERT INTO xf_artifact_group_list (group_artifact_idgroup_idnamedescriptionis_publicallow_anonemail_all_updatesemail_addressdue_perioduse_resolutionsubmit_instructionsbrowse_instructionsdatatypestatus_timeoutVALUES (100100NULLNULL000''25920000NULLNULL0NULL);
INSERT INTO xf_artifact_group_list (group_artifact_idgroup_idnamedescriptionis_publicallow_anonemail_all_updatesemail_addressdue_perioduse_resolutionsubmit_instructionsbrowse_instructionsdatatypestatus_timeoutVALUES (1011'Support Requests''Tech Support Tracking System'110''25920000''''01209600);
INSERT INTO xf_artifact_group_list (group_artifact_idgroup_idnamedescriptionis_publicallow_anonemail_all_updatesemail_addressdue_perioduse_resolutionsubmit_instructionsbrowse_instructionsdatatypestatus_timeoutVALUES (1021'Feature Requests''Feature Request Tracking System'100''25920000''''01209600);
INSERT INTO xf_artifact_group_list (group_artifact_idgroup_idnamedescriptionis_publicallow_anonemail_all_updatesemail_addressdue_perioduse_resolutionsubmit_instructionsbrowse_instructionsdatatypestatus_timeoutVALUES (1031'Bug Tracking''Bug Tracking System'110''25920000''''01209600);

--
-- 
Table structure for table `xf_artifact_history`
--

CREATE TABLE xf_artifact_history (
  
id SERIAL,
  
artifact_id int NOT NULL default '0',
  
field_name text NOT NULL,
  
old_value text NOT NULL,
  
mod_by int NOT NULL default '0',
  
entrydate int NOT NULL,
  
PRIMARY KEY (id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_artifact_message`
--

CREATE TABLE xf_artifact_message (
  
id SERIAL,
  
artifact_id int NOT NULL default '0',
  
submitted_by int NOT NULL default '0',
  
from_email text NOT NULL,
  
adddate int NOT NULL,
  
body text NOT NULL,
  
PRIMARY KEY (id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_artifact_monitor`
--

CREATE TABLE xf_artifact_monitor (
  
id SERIAL,
  
artifact_id int NOT NULL default '0',
  
user_id int NOT NULL default '0',
  
email text,
  
PRIMARY KEY (id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_artifact_perm`
--

CREATE TABLE xf_artifact_perm (
  
id SERIAL,
  
group_artifact_id int NOT NULL default '0',
  
user_id int NOT NULL default '0',
  
perm_level int NOT NULL default '0',
  
PRIMARY KEY (id)
) ;

-- --------------------------------------------------------

INSERT INTO xf_artifact_perm (idgroup_artifact_iduser_idperm_levelVALUES (110112);
INSERT INTO xf_artifact_perm (idgroup_artifact_iduser_idperm_levelVALUES (210212);
INSERT INTO xf_artifact_perm (idgroup_artifact_iduser_idperm_levelVALUES (310312);

--
-- 
Table structure for table `xf_artifact_resolution`
--

CREATE TABLE xf_artifact_resolution (
  
id SERIAL,
  
resolution_name text,
  
PRIMARY KEY (id)
) ;

-- --------------------------------------------------------

INSERT INTO xf_artifact_resolution VALUES (100'None');
INSERT INTO xf_artifact_resolution VALUES (102'Accepted');
INSERT INTO xf_artifact_resolution VALUES (103'Out of Date');
INSERT INTO xf_artifact_resolution VALUES (104'Postponed');
INSERT INTO xf_artifact_resolution VALUES (105'Rejected');

--
-- 
Table structure for table `xf_artifact_status`
--

CREATE TABLE xf_artifact_status (
  
id SERIAL,
  
status_name text NOT NULL,
  
PRIMARY KEY (id)
) ;

-- --------------------------------------------------------

INSERT INTO xf_artifact_status VALUES (1'Open');
INSERT INTO xf_artifact_status VALUES (2'Closed');
INSERT INTO xf_artifact_status VALUES (3'Deleted');
INSERT INTO xf_artifact_status VALUES (4'Pending');

--
-- 
Table structure for table `xf_canned_responses`
--

CREATE TABLE xf_canned_responses (
  
response_id SERIAL,
  
response_title varchar(25) default NULL,
  
response_text text,
  
PRIMARY KEY (response_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_context_sensitive_help`
--

CREATE TABLE xf_context_sensitive_help (
  
help_id SERIAL,
  
title varchar(255NOT NULL default '',
  
for_page varchar(255NOT NULL default '',
  
help_url varchar(255NOT NULL default '',
  
weight int default '0',
  
PRIMARY KEY (help_id),
  
KEY for_page (for_page)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_config`
--

CREATE TABLE xf_config (
  
name varchar(20NOT NULL,
  
value varchar(255NOT NULL default '',
  
PRIMARY KEY (name)
) ;

-- --------------------------------------------------------

INSERT INTO xf_config VALUES ('manapprove''1');
INSERT INTO xf_config VALUES ('devsurvey''100');
INSERT INTO xf_config VALUES ('noreply''noreply@forge.xoops2.org.com');
INSERT INTO xf_config VALUES ('defaultproject''0');
INSERT INTO xf_config VALUES ('usemailer''0');
INSERT INTO xf_config VALUES ('parammail1''localhost');
INSERT INTO xf_config VALUES ('parammail2''');
INSERT INTO xf_config VALUES ('sysnews''2');
INSERT INTO xf_config VALUES ('virusscan''0');
INSERT INTO xf_config VALUES ('snippetowner''0');
INSERT INTO xf_config VALUES ('ftp_path''/var/ftp/pub');
INSERT INTO xf_config VALUES ('validate_email''1');
INSERT INTO xf_config VALUES ('forum_type','forum');
INSERT INTO xf_config VALUES ('nntp_server''forum.xoops2.org');
INSERT INTO xf_config VALUES ('nntp_base''xoops2.forge');
INSERT INTO xf_config VALUES ('max_forums'5);
INSERT INTO xf_config VALUES ('privkey_path''/etc/ssl/.private/rsapriv.pem');
INSERT INTO xf_config VALUES ('openssl_path''/usr/bin/openssl');
INSERT INTO xf_config VALUES ('uuencode_path''/usr/bin/uuencode');
INSERT INTO xf_config VALUES ('max_maillists'5);

--
-- 
Table structure for table `xf_cronjob_log`
--

CREATE TABLE xf_cronjob_log (
  
cronjob_log_id SERIAL,
  
updatetime int NOT NULL,
  
PRIMARY KEY (cronjob_log_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_cvs_commit_notify`
--

CREATE TABLE xf_cvs_commit_notify (
  
group_id int NOT NULL default '0',
  
time int NOT NULL default '0',
  
email varchar(40NOT NULL default '',
  
KEY group_id (group_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_cvs_commit_tracker`
--

CREATE TABLE xf_cvs_commit_tracker (
  
commit_id SERIAL,
  
unix_group_name varchar(30NOT NULL default '0',
  
user_id int NOT NULL default '0',
  
count int NOT NULL default '0',
  
PRIMARY KEY (commit_id),
  
KEY unix_group_name (unix_group_name),
  
KEY user_id (user_id),
  
KEY unix_group_name_user_id (unix_group_name,user_id)
) ;


-- --------------------------------------------------------

--
-- 
Table structure for table `xf_doc_data`
--

CREATE TABLE xf_doc_data (
  
docid SERIAL,
  
stateid int NOT NULL default '0',
  
title varchar(255NOT NULL default '',
  
data text NOT NULL,
  
updatedate int NOT NULL,
  
createdate int NOT NULL,
  
created_by int NOT NULL default '0',
  
doc_group int NOT NULL default '0',
  
description text,
  
PRIMARY KEY (docid)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_doc_dl_stats`
--

CREATE TABLE xf_doc_dl_stats (
  
id SERIAL,
  
docid int NOT NULL default '0',
  
downloads int NOT NULL default '0',
  
PRIMARY KEY (id),
  
UNIQUE (docid)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_doc_feedback`
--

CREATE TABLE xf_doc_feedback (
  
feedback_id SERIAL,
  
docid int NOT NULL default '0',
  
user_id int NOT NULL default '0',
  
answer int NOT NULL default '0',
  
suggestion text NOT NULL,
  
entered int NOT NULL default '0',
  
PRIMARY KEY (feedback_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_doc_feedback_agg`
--

CREATE TABLE xf_doc_feedback_agg (
  
docid int NOT NULL default '0',
  
answer_yes int NOT NULL default '0',
  
answer_no int NOT NULL default '0',
  
answer_na int NOT NULL default '0'
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_doc_groups`
--

CREATE TABLE xf_doc_groups (
  
doc_group SERIAL,
  
groupname varchar(255NOT NULL default '',
  
group_id int NOT NULL default '0',
  
PRIMARY KEY (doc_group)
) ;

-- --------------------------------------------------------

INSERT INTO xf_doc_groups (doc_groupgroupnamegroup_idVALUES (1'Uncategorized Submissions'1);

--
-- 
Table structure for table `xf_doc_states`
--

CREATE TABLE xf_doc_states (
  
stateid SERIAL,
  
name varchar(255NOT NULL default '',
  
PRIMARY KEY (stateid)
) ;

-- --------------------------------------------------------

INSERT INTO xf_doc_states VALUES (1'active');
INSERT INTO xf_doc_states VALUES (2'deleted');
INSERT INTO xf_doc_states VALUES (3'pending');
INSERT INTO xf_doc_states VALUES (4'hidden');
INSERT INTO xf_doc_states VALUES (5'private');

--
-- 
Table structure for table `xf_filemodule_monitor`
--

CREATE TABLE xf_filemodule_monitor (
  
id SERIAL,
  
filemodule_id int NOT NULL default '0',
  
user_id int NOT NULL default '0',
  
PRIMARY KEY (id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_forum`
--

CREATE TABLE xf_forum (
  
msg_id SERIAL,
  
group_forum_id int NOT NULL default '0',
  
posted_by int NOT NULL default '0',
  
subject text NOT NULL,
  
body text NOT NULL,
  
date int NOT NULL,
  
is_followup_to int NOT NULL default '0',
  
thread_id int NOT NULL default '0',
  
has_followups int default '0',
  
most_recent_date int NOT NULL,
  
PRIMARY KEY (msg_id)
) ;

-- --------------------------------------------------------

INSERT INTO xf_forum (msg_idgroup_forum_idposted_bysubjectbodydateis_followup_tothread_idhas_followupsmost_recent_dateVALUES (111'Welcome to myXoopsForge Open Discussion''Welcome to myXoopsForge Open Discussion'10173156600100);

--
-- 
Table structure for table `xf_forum_agg_msg_count`
--

CREATE TABLE xf_forum_agg_msg_count (
  
group_forum_id int NOT NULL default '0',
  
count int NOT NULL default '0',
  
PRIMARY KEY (group_forum_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_forum_ext_group_list`
--

CREATE TABLE xf_forum_ext_group_list (
  
forum_id SERIAL,
  
group_id int NOT NULL default '0',
  
forum_name varchar(40NOT NULL default '',
  
forum_url varchar(128NOT NULL default '',
  
PRIMARY KEY (forum_id),
  
KEY indexgroupid (group_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_forum_nntp_list`
--

CREATE TABLE xf_forum_nntp_list (
  
group_id int NOT NULL default '0',
  
forum_name varchar(60NOT NULL default '',
  
forum_desc_name varchar(128NOT NULL default '',
  
KEY  indexforumname (forum_name),
  
KEY indexgroupid (group_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_forum_group_list`
--

CREATE TABLE xf_forum_group_list (
  
group_forum_id SERIAL,
  
group_id int NOT NULL default '0',
  
forum_name text NOT NULL,
  
is_public int NOT NULL default '0',
  
description text,
  
allow_anonymous int NOT NULL default '0',
  
send_all_posts_to text,
  
PRIMARY KEY (group_forum_id)
) ;

-- --------------------------------------------------------

INSERT INTO xf_forum_group_list (group_forum_idgroup_idforum_nameis_publicdescriptionallow_anonymoussend_all_posts_toVALUES (11'myXoopsForge Open Discussion'1'Discussion of myXoopsForge Topics.'0NULL);
INSERT INTO xf_forum_group_list (group_forum_idgroup_idforum_nameis_publicdescriptionallow_anonymoussend_all_posts_toVALUES (22'myXoopsForge Launched'1''0NULL);

--
-- 
Table structure for table `xf_forum_monitored_forums`
--

CREATE TABLE xf_forum_monitored_forums (
  
monitor_id SERIAL,
  
forum_id int NOT NULL default '0',
  
user_id int NOT NULL default '0',
  
PRIMARY KEY (monitor_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_forum_thread_id`
--

CREATE TABLE xf_forum_thread_id (
  
thread_id SERIAL,
  
PRIMARY KEY (thread_id)
) ;

-- --------------------------------------------------------

INSERT INTO xf_forum_thread_id (thread_idVALUES (1);

--
-- 
Table structure for table `xf_foundry_data`
--

CREATE TABLE xf_foundry_data (
  
foundry_id SERIAL,
  
freeform1_html text,
  
freeform2_html text,
  
sponsor1_html text,
  
sponsor2_html text,
  
guide_image_id int NOT NULL default '0',
  
logo_image_id int NOT NULL default '0',
  
trove_categories text,
  
PRIMARY KEY (foundry_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_foundry_faqs`
--

CREATE TABLE xf_foundry_faqs (
  
id SERIAL,
  
foundry_id int NOT NULL default '0',
  
category_id smallint NOT NULL default '0',
  
PRIMARY KEY (id),
  
KEY indexfoundryid (foundry_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_foundry_featured_projects`
--

CREATE TABLE xf_foundry_featured_projects (
  
foundry_id int NOT NULL default '0',
  
project_id int NOT NULL default '0',
  
description varchar(255NOT NULL default '',
  
KEY foundry_id_x (foundry_id),
  
KEY project_id_x (project_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_foundry_news`
--

CREATE TABLE xf_foundry_news (
  
foundry_news_id SERIAL,
  
foundry_id int NOT NULL default '0',
  
news_id int NOT NULL default '0',
  
approve_date int NOT NULL,
  
is_approved int NOT NULL default '0',
  
PRIMARY KEY (foundry_news_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_foundry_projects`
--

CREATE TABLE xf_foundry_projects (
  
id SERIAL,
  
foundry_id int NOT NULL default '0',
  
project_id int NOT NULL default '0',
  
PRIMARY KEY (id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_frs_dlnames`
--

CREATE TABLE xf_frs_dlnames (
  
fileid int NOT NULL default '0',
  
uid int NOT NULL default '0',
  
date int NOT NULL,
  
KEY fileid_index (fileid)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_frs_dlstats_file_agg`
--

CREATE TABLE xf_frs_dlstats_file_agg (
  
month int default '1',
  
day int default '1',
  
file_id int NOT NULL default '0',
  
downloads int NOT NULL default '0'
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_frs_file`
--

CREATE TABLE xf_frs_file (
  
file_id SERIAL,
  
filename varchar(255) default NULL,
  
file_url varchar(255) default NULL,
  
release_id int NOT NULL default '0',
  
type_id int NOT NULL default '0',
  
processor_id int NOT NULL default '0',
  
release_time int NOT NULL default '0',
  
file_size int NOT NULL default '0',
  
post_date int NOT NULL,
  
PRIMARY KEY (file_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_frs_filetype`
--

CREATE TABLE xf_frs_filetype (
  
type_id SERIAL,
  
name text,
  
PRIMARY KEY (type_id)
) ;

-- --------------------------------------------------------

INSERT INTO xf_frs_filetype VALUES (1000'.deb');
INSERT INTO xf_frs_filetype VALUES (2000'.rpm');
INSERT INTO xf_frs_filetype VALUES (3000'.zip');
INSERT INTO xf_frs_filetype VALUES (3100'.bz2');
INSERT INTO xf_frs_filetype VALUES (3110'.gz');
INSERT INTO xf_frs_filetype VALUES (5000'Source .zip');
INSERT INTO xf_frs_filetype VALUES (5010'Source .bz2');
INSERT INTO xf_frs_filetype VALUES (5020'Source .gz');
INSERT INTO xf_frs_filetype VALUES (5100'Source .rpm');
INSERT INTO xf_frs_filetype VALUES (5900'Other Source File');
INSERT INTO xf_frs_filetype VALUES (8000'.jpg');
INSERT INTO xf_frs_filetype VALUES (8100'text');
INSERT INTO xf_frs_filetype VALUES (8200'html');
INSERT INTO xf_frs_filetype VALUES (8300'pdf');
INSERT INTO xf_frs_filetype VALUES (9999'Other');
INSERT INTO xf_frs_filetype VALUES (6000'Script .php');
INSERT INTO xf_frs_filetype VALUES (6010'Script .asp');
INSERT INTO xf_frs_filetype VALUES (3010'.rar');
INSERT INTO xf_frs_filetype VALUES (6100'Script .js');

--
-- 
Table structure for table `xf_frs_package`
--

CREATE TABLE xf_frs_package (
  
package_id SERIAL,
  
group_id int NOT NULL default '0',
  
name text,
  
status_id int NOT NULL default '0',
  
PRIMARY KEY (package_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_frs_processor`
--

CREATE TABLE xf_frs_processor (
  
processor_id SERIAL,
  
name text,
  
PRIMARY KEY (processor_id)
) ;

-- --------------------------------------------------------

INSERT INTO xf_frs_processor VALUES (1000'i386');
INSERT INTO xf_frs_processor VALUES (6000'IA64');
INSERT INTO xf_frs_processor VALUES (7000'Alpha');
INSERT INTO xf_frs_processor VALUES (8000'Any');
INSERT INTO xf_frs_processor VALUES (2000'PPC');
INSERT INTO xf_frs_processor VALUES (3000'MIPS');
INSERT INTO xf_frs_processor VALUES (4000'Sparc');
INSERT INTO xf_frs_processor VALUES (5000'UltraSparc');
INSERT INTO xf_frs_processor VALUES (9999'Other');

--
-- 
Table structure for table `xf_frs_release`
--

CREATE TABLE xf_frs_release (
  
release_id SERIAL,
  
package_id int NOT NULL default '0',
  
name text,
  
notes text,
  
changes text,
  
status_id int NOT NULL default '0',
  
preformatted int NOT NULL default '0',
  
release_date int NOT NULL,
  
released_by int NOT NULL default '0',
  
dependencies text,
  
PRIMARY KEY (release_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_frs_status`
--

CREATE TABLE xf_frs_status (
  
status_id SERIAL,
  
name text,
  
PRIMARY KEY (status_id)
) ;

-- --------------------------------------------------------

INSERT INTO xf_frs_status VALUES (1'Development');
INSERT INTO xf_frs_status VALUES (2'Stable');
INSERT INTO xf_frs_status VALUES (3'Private');

--
-- 
Table structure for table `xf_group_history`
--

CREATE TABLE xf_group_history (
  
group_history_id SERIAL,
  
group_id int NOT NULL default '0',
  
field_name text NOT NULL,
  
old_value text NOT NULL,
  
mod_by int NOT NULL default '0',
  
date int default NULL,
  
PRIMARY KEY (group_history_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_group_type`
--

CREATE TABLE xf_group_type (
  
type_id SERIAL,
  
name text,
  
PRIMARY KEY (type_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_groups`
--

CREATE TABLE xf_groups (
  
group_id SERIAL,
  
group_name varchar(60)  NOT NULL default '',
  
homepage varchar(128)  NOT NULL default '',
  
is_public int NOT NULL default '0',
  
status char(1NOT NULL default 'A',
  
unix_group_name varchar(30NOT NULL default '',
  
unix_box varchar(20NOT NULL default 'shell1',
  
http_domain varchar(80)  NOT NULL default '',
  
short_description text NOT NULL default '',
  
license varchar(16)  NOT NULL default '',
  
register_purpose text NOT NULL default '',
  
license_other text NOT NULL default '',
  
register_time int NOT NULL default '0',
  
use_bugs int NOT NULL default '1',
  
rand_hash text NOT NULL default '',
  
use_mail int NOT NULL default '1',
  
use_survey int NOT NULL default '0',
  
use_patch int NOT NULL default '0',
  
use_forum int NOT NULL default '1',
  
use_faq int NOT NULL default '0',
  
use_pm int NOT NULL default '1',
  
use_cvs int NOT NULL default '1',
  
use_news int NOT NULL default '1',
  
use_support int NOT NULL default '0',
  
anon_cvs int NOT NULL default '1',
  
new_bug_address text NOT NULL default '',
  
new_patch_address text NOT NULL default '',
  
new_support_address text NOT NULL default '',
  
type int NOT NULL default '1',
  
use_docman int NOT NULL default '0',
  
send_all_bugs int NOT NULL default '0',
  
send_all_patches int NOT NULL default '0',
  
send_all_support int NOT NULL default '0',
  
new_task_address text NOT NULL default '',
  
send_all_tasks int NOT NULL default '0',
  
use_bug_depend_box int NOT NULL default '1',
  
use_pm_depend_box int NOT NULL default '0',
  
use_sample int NOT NULL default '0',
  
use_tracker int NOT NULL default '1',
  
PRIMARY KEY (group_id),
  
KEY status_index (status),
  
KEY unix_group_name_index (unix_group_name)
)  
AUTO_INCREMENT=1001;

-- --------------------------------------------------------

INSERT INTO xf_groups (group_idgroup_namehomepageis_publicstatusunix_group_nameshort_descriptionVALUES (1'myXoopsForge Support''myxoopsforge.de'1'A''xoopsforge''Short Description');
INSERT INTO xf_groups (group_idgroup_namehomepageis_publicstatusunix_group_nameshort_descriptionVALUES (2'myXoopsForge News''myxoopsforge.de'0'A''xfnews''myXoopsForge News Project');
INSERT INTO xf_groups (group_idgroup_namehomepageis_publicstatusunix_group_nameshort_descriptionVALUES (100'Default Group'''0'A''default''');

--
-- 
Table structure for table `xf_maillist_site_subscriptions`
--

CREATE TABLE xf_maillist_site_subscriptions (
  
uid int NOT NULL default '0',
  
list_id int NOT NULL default '0',
  
UNIQUE (uid,list_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_maillist_sitelists`
--

CREATE TABLE xf_maillist_sitelists (
  
list_id SERIAL,
  
list_name varchar(20NOT NULL default '',
  
allow_anon smallint NOT NULL default '0',
  
allow_ru smallint NOT NULL default '0',
  
allow_pa smallint NOT NULL default '0',
  
allow_ca smallint NOT NULL default '0',
  
PRIMARY KEY (list_id),
  
KEY indexlistname (list_name),
  
KEY indexallowanon (allow_anon),
  
KEY indexallowru (allow_ru),
  
KEY indexallowpa (allow_pa),
  
KEY indexallowca (allow_ca)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xoops_xf_maillists`
--

CREATE TABLE xoops_xf_maillists (
  
id SERIAL,
  
group_id int NOT NULL default '0',
  
name varchar(45NOT NULL default '',
  
description varchar(255NOT NULL default '',
  
PRIMARY KEY (id),
  
KEY indexgroup_id (group_id),
  
KEY indexname (name)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_news_bytes`
--

CREATE TABLE xf_news_bytes (
  
id SERIAL,
  
group_id int NOT NULL default '0',
  
submitted_by int NOT NULL default '0',
  
is_approved int NOT NULL default '0',
  
date int NOT NULL,
  
forum_id int NOT NULL default '0',
  
summary text,
  
details text,
  
PRIMARY KEY (id)
) ;

-- --------------------------------------------------------

INSERT INTO xf_news_bytes (idgroup_idsubmitted_byis_approveddateforum_idsummarydetailsVALUES (111110173285262'myXoopsForge Launched''Today we have launched the myXoopsForge Project Management Add-On for the XOOPS Content Management System.nrPlease report any problems you might have or any Bugs found during usage of this product on the product project page.nrnrThe myXoopsForge Development Team');

--
-- 
Table structure for table `xf_project_assigned_to`
--

CREATE TABLE xf_project_assigned_to (
  
project_assigned_id SERIAL,
  
project_task_id int NOT NULL default '0',
  
assigned_to_id int NOT NULL default '0',
  
PRIMARY KEY (project_assigned_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_project_dependencies`
--

CREATE TABLE xf_project_dependencies (
  
project_depend_id SERIAL,
  
project_task_id int NOT NULL default '0',
  
is_dependent_on_task_id int NOT NULL default '0',
  
PRIMARY KEY (project_depend_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_project_group_list`
--

CREATE TABLE xf_project_group_list (
  
group_project_id SERIAL,
  
group_id int NOT NULL default '0',
  
project_name text NOT NULL,
  
is_public int NOT NULL default '0',
  
description text,
  
PRIMARY KEY (group_project_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_project_history`
--

CREATE TABLE xf_project_history (
  
project_history_id SERIAL,
  
project_task_id int NOT NULL default '0',
  
field_name text NOT NULL,
  
old_value text NOT NULL,
  
mod_by int NOT NULL default '0',
  
date int NOT NULL,
  
PRIMARY KEY (project_history_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_project_status`
--

CREATE TABLE xf_project_status (
  
status_id SERIAL,
  
status_name text NOT NULL,
  
PRIMARY KEY (status_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_project_task`
--

CREATE TABLE xf_project_task (
  
project_task_id SERIAL,
  
group_project_id int NOT NULL default '0',
  
summary text NOT NULL,
  
details text NOT NULL,
  
percent_complete int NOT NULL default '0',
  
priority int NOT NULL default '0',
  
hours double NOT NULL default '0',
  
start_date int NOT NULL,
  
end_date int NOT NULL,
  
created_by int NOT NULL default '0',
  
status_id int NOT NULL default '0',
  
PRIMARY KEY (project_task_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_project_weekly_metric`
--

CREATE TABLE xf_project_weekly_metric (
  
ranking SERIAL,
  
percentile double default NULL,
  
group_id int NOT NULL default '0',
  
PRIMARY KEY (ranking)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_pubkeys`
--

CREATE TABLE xf_pubkeys (
  
uid int NOT NULL default '0',
  
time int NOT NULL default '0',
  
pubkey text NOT NULL,
  
KEY uid (uid)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_sample_data`
--

CREATE TABLE xf_sample_data (
  
sampleid SERIAL,
  
stateid int NOT NULL default '0',
  
title varchar(255NOT NULL default '',
  
data text NOT NULL,
  
updatedate int NOT NULL,
  
createdate int NOT NULL,
  
created_by int NOT NULL default '0',
  
sample_group int NOT NULL default '0',
  
description text,
  
PRIMARY KEY (sampleid)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_sample_dl_stats`
--

CREATE TABLE xf_sample_dl_stats (
  
id SERIAL,
  
sampleid int NOT NULL default '0',
  
downloads int NOT NULL default '0',
  
PRIMARY KEY (id),
  
UNIQUE (sampleid)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_sample_feedback`
--

CREATE TABLE xf_sample_feedback (
  
feedback_id SERIAL,
  
sampleid int NOT NULL default '0',
  
user_id int NOT NULL default '0',
  
answer int NOT NULL default '0',
  
suggestion text NOT NULL,
  
entered int NOT NULL default '0',
  
PRIMARY KEY (feedback_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_sample_feedback_agg`
--

CREATE TABLE xf_sample_feedback_agg (
  
sampleid int NOT NULL default '0',
  
answer_yes int NOT NULL default '0',
  
answer_no int NOT NULL default '0',
  
answer_na int NOT NULL default '0'
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_sample_groups`
--

CREATE TABLE xf_sample_groups (
  
sample_group SERIAL,
  
groupname varchar(255NOT NULL default '',
  
group_id int NOT NULL default '0',
  
PRIMARY KEY (sample_group)
) ;

-- --------------------------------------------------------

INSERT INTO xf_sample_groups (sample_groupgroupnamegroup_idVALUES (1'Uncategorized Submissions'1);

--
-- 
Table structure for table `xf_sample_states`
--

CREATE TABLE xf_sample_states (
  
stateid SERIAL,
  
name varchar(255NOT NULL default '',
  
PRIMARY KEY (stateid)
) ;

-- --------------------------------------------------------

INSERT INTO xf_sample_states VALUES (1'active');
INSERT INTO xf_sample_states VALUES (2'deleted');
INSERT INTO xf_sample_states VALUES (3'pending');
INSERT INTO xf_sample_states VALUES (4'hidden');
INSERT INTO xf_sample_states VALUES (5'private');

--
-- 
Table structure for table `xf_survey_question_types`
--

CREATE TABLE xf_survey_question_types (
  
id SERIAL,
  
type text NOT NULL,
  
PRIMARY KEY (id)
) ;

-- --------------------------------------------------------

INSERT INTO xf_survey_question_types VALUES (1'Radio Buttons 1-5');
INSERT INTO xf_survey_question_types VALUES (2'Text Area');
INSERT INTO xf_survey_question_types VALUES (3'Radio Buttons Yes/No');
INSERT INTO xf_survey_question_types VALUES (4'Comment Only');
INSERT INTO xf_survey_question_types VALUES (5'Text Field');
INSERT INTO xf_survey_question_types VALUES (100'None');

--
-- 
Table structure for table `xf_survey_questions`
--

CREATE TABLE xf_survey_questions (
  
question_id SERIAL,
  
group_id int NOT NULL default '0',
  
question text NOT NULL,
  
question_type int NOT NULL default '0',
  
PRIMARY KEY (question_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_survey_responses`
--

CREATE TABLE xf_survey_responses (
  
user_id int NOT NULL default '0',
  
group_id int NOT NULL default '0',
  
survey_id int NOT NULL default '0',
  
question_id int NOT NULL default '0',
  
response text NOT NULL,
  
date int NOT NULL
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_surveys`
--

CREATE TABLE xf_surveys (
  
survey_id SERIAL,
  
group_id int NOT NULL default '0',
  
survey_title text NOT NULL,
  
survey_questions text NOT NULL,
  
is_active int NOT NULL default '1',
  
PRIMARY KEY (survey_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_user_bookmarks`
--

CREATE TABLE xf_user_bookmarks (
  
bookmark_id SERIAL,
  
user_id int NOT NULL default '0',
  
bookmark_url text,
  
bookmark_title text,
  
PRIMARY KEY (bookmark_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_user_diary`
--

CREATE TABLE xf_user_diary (
  
id SERIAL,
  
user_id int NOT NULL default '0',
  
date_posted int NOT NULL,
  
summary text,
  
details text,
  
is_public int NOT NULL default '0',
  
PRIMARY KEY (id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_user_diary_monitor`
--

CREATE TABLE xf_user_diary_monitor (
  
monitor_id SERIAL,
  
monitored_user int NOT NULL default '0',
  
user_id int NOT NULL default '0',
  
PRIMARY KEY (monitor_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_user_foundry_groups`
--

CREATE TABLE xf_user_foundry_groups (
  
user_id int NOT NULL default '0',
  
group_id int NOT NULL default '0',
  
join_date int NOT NULL,
  
KEY user_id_x (user_id),
  
KEY group_id_x (group_id)
) ;

-- --------------------------------------------------------

--
-- 
Table structure for table `xf_user_group`
--

CREATE TABLE xf_user_group (
  
user_group_id SERIAL,
  
user_id int NOT NULL default '0',
  
group_id int NOT NULL default '0',
  
admin_flags char(16NOT NULL default '',
  
bug_flags int NOT NULL default '0',
  
forum_flags int NOT NULL default '0',
  
project_flags int NOT NULL default '2',
  
patch_flags int NOT NULL default '1',
  
support_flags int NOT NULL default '1',
  
doc_flags int NOT NULL default '0',
  
sample_flags int NOT NULL default '0',
  
cvs_flags int NOT NULL default '0',
  
member_role int NOT NULL default '100',
  
release_flags int NOT NULL default '0',
  
artifact_flags int NOT NULL default '0',
  
PRIMARY KEY (user_group_id)
) ;

-- --------------------------------------------------------

INSERT INTO xf_user_group (user_group_iduser_idgroup_idadmin_flagsbug_flagsforum_flagsproject_flagspatch_flagssupport_flagsdoc_flagssample_flagscvs_flagsmember_rolerelease_flagsartifact_flagsVALUES (111'A'0221100110002);
INSERT INTO xf_user_group (user_group_iduser_idgroup_idadmin_flagsbug_flagsforum_flagsproject_flagspatch_flagssupport_flagsdoc_flagssample_flagscvs_flagsmember_rolerelease_flagsartifact_flagsVALUES (212'A'0221100110002);

--
-- 
Table structure for table `xf_user_profile`
--

CREATE TABLE xf_user_profile (
  
user_id int NOT NULL default '0',
  
people_view_skills smallint NOT NULL default '1',
  
resume text,
  
UNIQUE (user_id)
) ;


Anyone knows what is wrong or how I can fix it?

2
Antoine
Re: PostgreSQL
  • 2005/1/20 14:32

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


Does the module's xoops_version.php contain reference to the SQL file in a fashion like:

Quote:

$modversion['sqlfile']['postgresql'] = "sql/pgsql.sql";

3
corne
Re: PostgreSQL
  • 2005/1/20 14:38

  • corne

  • Just popping in

  • Posts: 24

  • Since: 2005/1/12


Yes, there is something wrong with the sql file..

If it is empty the module installs it's self, also with other postgresql script's it can install... Only when I use this file the module can't install...

4
Mithrandir
Re: PostgreSQL

Do you have a manual tool for managing the PostgreSQL database? Like PHPMyAdmin for PGSQL?

If so, could you try running the problematic queries through that and post any error messages, you encounter?

5
corne
Re: PostgreSQL
  • 2005/1/20 15:21

  • corne

  • Just popping in

  • Posts: 24

  • Since: 2005/1/12


I tried it on the postgreSQL console, no errors everything works like it should

6
Mithrandir
Re: PostgreSQL

Is the MySQL debug option working for you on PGSQL? Perhaps you can try enabling that, then install the module and see what - if any - errors appear?

7
Jurgen
Re: PostgreSQL
  • 2005/4/11 18:28

  • Jurgen

  • Just popping in

  • Posts: 13

  • Since: 2004/11/14


Is there some scheme how to enable PostgreSQL so we can help to test it further ?

Login

Who's Online

200 user(s) are online (120 user(s) are browsing Support Forums)


Members: 0


Guests: 200


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits