HI Malte,
great idea on creating an admin page for that issue.
Is that really hard to implemented?
I ran the sql script
$psql -f search-sc-create.sql
and i got error of duplicated id:
*************************8
psql:conaje/packages/search/sql/postgresql/search-sc-create.sql:8: NOTICE: adding missing FROM-clause entry for table "acs_object_id_seq"
CONTEXT: PL/pgSQL function "acs_object__new" line 17 at select into variables
PL/pgSQL function "acs_sc_contract__new" line 7 at assignment
psql:conaje/packages/search/sql/postgresql/search-sc-create.sql:8: ERROR: duplicate key violates unique constraint "acs_sc_contracts_name_un"
CONTEXT: PL/pgSQL function "acs_sc_contract__new" line 19 at SQL statement
psql:conaje/packages/search/sql/postgresql/search-sc-create.sql:14: ERROR: duplicate key violates unique constraint "acs_sc_msg_types_name_un"
CONTEXT: PL/pgSQL function "acs_sc_msg_type__new" line 19 at SQL statement
psql:conaje/packages/search/sql/postgresql/search-sc-create.sql:18: ERROR: duplicate key violates unique constraint "acs_sc_msg_types_name_un"
CONTEXT: PL/pgSQL function "acs_sc_msg_type__new" line 19 at SQL statement
acs_sc_operation__new
-----------------------
1019
(1 row)
psql:conaje/packages/search/sql/postgresql/search-sc-create.sql:34: ERROR: duplicate key violates unique constraint "acs_sc_msg_types_name_un"
CONTEXT: PL/pgSQL function "acs_sc_msg_type__new" line 19 at SQL statement
psql:conaje/packages/search/sql/postgresql/search-sc-create.sql:38: ERROR: duplicate key violates unique constraint "acs_sc_msg_types_name_un"
CONTEXT: PL/pgSQL function "acs_sc_msg_type__new" line 19 at SQL statement
acs_sc_operation__new
-----------------------
1022
(1 row)
psql:conaje/packages/search/sql/postgresql/search-sc-create.sql:54: ERROR: duplicate key violates unique constraint "acs_sc_msg_types_name_un"
CONTEXT: PL/pgSQL function "acs_sc_msg_type__new" line 19 at SQL statement
psql:conaje/packages/search/sql/postgresql/search-sc-create.sql:58: ERROR: duplicate key violates unique constraint "acs_sc_msg_types_name_un"
CONTEXT: PL/pgSQL function "acs_sc_msg_type__new" line 19 at SQL statement
acs_sc_operation__new
-----------------------
1025
(1 row)
psql:conaje/packages/search/sql/postgresql/search-sc-create.sql:74: ERROR: duplicate key violates unique constraint "acs_sc_msg_types_name_un"
CONTEXT: PL/pgSQL function "acs_sc_msg_type__new" line 19 at SQL statement
psql:conaje/packages/search/sql/postgresql/search-sc-create.sql:78: ERROR: duplicate key violates unique constraint "acs_sc_msg_types_name_un"
CONTEXT: PL/pgSQL function "acs_sc_msg_type__new" line 19 at SQL statement
acs_sc_operation__new
-----------------------
1028
(1 row)
psql:conaje/packages/search/sql/postgresql/search-sc-create.sql:94: ERROR: duplicate key violates unique constraint "acs_sc_msg_types_name_un"
CONTEXT: PL/pgSQL function "acs_sc_msg_type__new" line 19 at SQL statement
psql:conaje/packages/search/sql/postgresql/search-sc-create.sql:98: ERROR: duplicate key violates unique constraint "acs_sc_msg_types_name_un"
CONTEXT: PL/pgSQL function "acs_sc_msg_type__new" line 19 at SQL statement
acs_sc_operation__new
-----------------------
1031
(1 row)
psql:conaje/packages/search/sql/postgresql/search-sc-create.sql:113: ERROR: duplicate key violates unique constraint "acs_sc_msg_types_name_un"
CONTEXT: PL/pgSQL function "acs_sc_msg_type__new" line 19 at SQL statement
psql:conaje/packages/search/sql/postgresql/search-sc-create.sql:117: ERROR: duplicate key violates unique constraint "acs_sc_msg_types_name_un"
CONTEXT: PL/pgSQL function "acs_sc_msg_type__new" line 19 at SQL statement
acs_sc_operation__new
-----------------------
1034
(1 row)
psql:conaje/packages/search/sql/postgresql/search-sc-create.sql:136: ERROR: duplicate key violates unique constraint "acs_sc_contracts_name_un"
CONTEXT: PL/pgSQL function "acs_sc_contract__new" line 19 at SQL statement
psql:conaje/packages/search/sql/postgresql/search-sc-create.sql:141: ERROR: duplicate key violates unique constraint "acs_sc_msg_types_name_un"
CONTEXT: PL/pgSQL function "acs_sc_msg_type__new" line 19 at SQL statement
psql:conaje/packages/search/sql/postgresql/search-sc-create.sql:145: ERROR: duplicate key violates unique constraint "acs_sc_msg_types_name_un"
CONTEXT: PL/pgSQL function "acs_sc_msg_type__new" line 19 at SQL statement
acs_sc_operation__new
-----------------------
1038
(1 row)
psql:conaje/packages/search/sql/postgresql/search-sc-create.sql:161: ERROR: duplicate key violates unique constraint "acs_sc_msg_types_name_un"
CONTEXT: PL/pgSQL function "acs_sc_msg_type__new" line 19 at SQL statement
psql:conaje/packages/search/sql/postgresql/search-sc-create.sql:165: ERROR: duplicate key violates unique constraint "acs_sc_msg_types_name_un"
CONTEXT: PL/pgSQL function "acs_sc_msg_type__new" line 19 at SQL statement
acs_sc_operation__new
-----------------------
1041
(1 row)
*****************************************************
How do i enable search package?