[SOLVED] Error installing core module (PostgreSQL)

pelle
pelle's picture

Joined: 2004-12-10
Posts: 389
Posted: Fri, 2004-12-10 18:54

Hi,

I tried to install Gallery2 with PostgreSQL 7.4.6 and got this:

Stack Trace:

 Error (ERROR_STORAGE_FAILURE, ERROR_UNKNOWN)

    * in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 741 (PostgreSqlDatabaseStorage::error)
    * in modules/core/classes/GalleryStorage.class at line 241 (PostgreSqlDatabaseStorage::execute)
    * in modules/core/CoreModuleExtras.inc at line 201 (GalleryStorage::execute)
    * in modules/core/module.inc at line 663 (CoreModule::upgrade)
    * in modules/core/classes/GalleryModule.class at line 168 (CoreModule::upgrade)
    * in install/steps/InstallCoreModuleStep.class at line 68 (CoreModule::installOrUpgrade)
    * in install/index.php at line 148 (InstallCoreModuleStep::loadTemplateData) 

Debug Output:
[code] file_exists(/var/www/dev.cau.se/data/sessions/e69b17788928bef8aab466c2809308e7)

(postgres7): set datestyle='ISO'

(postgres7): select version()

(postgres7): select tablename, 'T' from pg_tables where tablename not like
'pg\_%'
and schemaname not in ( 'pg_catalog', 'information_schema')
union
select viewname, 'V' from pg_views where viewname not like 'pg\_%'
and schemaname not in ( 'pg_catalog', 'information_schema')

file_exists(/var/www/dev.cau.se/htdocs/gallery/modules/core/classes/helpers/../../../../modules/core/module.inc)

(postgres7): set datestyle='ISO'

(postgres7):
CREATE AGGREGATE BIT_OR
(
basetype = bit,
sfunc = bitor,
stype = bit
)

file_exists(/var/www/dev.cau.se/htdocs/gallery/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/postgres)
opendir(/var/www/dev.cau.se/htdocs/gallery/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/postgres)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
readdir(Resource id #54)
closedir(Resource id #54)

(postgres7): select tablename, 'T' from pg_tables where tablename not like
'pg\_%'
and schemaname not in ( 'pg_catalog', 'information_schema')
union
select viewname, 'V' from pg_views where viewname not like 'pg\_%'
and schemaname not in ( 'pg_catalog', 'information_schema')

fopen(/var/www/dev.cau.se/htdocs/gallery/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/postgres/Schema.sql,
r, 0)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)

fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)

(postgres7): -- This file was automatically generated from an XSL
template, which is
-- why it looks so ugly. Editing it by hand would be a bad idea.
--

CREATE TABLE g2_Schema (
g_name
VARCHAR(

128

)

NOT NULL

,
g_major
INTEGER

NOT NULL

,
g_minor
INTEGER

NOT NULL

)

(postgres7): ALTER TABLE g2_Schema
ADD PRIMARY KEY (g_name)

(postgres7): INSERT INTO g2_Schema (
g_name,
g_major,
g_minor
) VALUES (
'Schema',
1,
0
)

fclose(Resource id #57)

(postgres7): CREATE SEQUENCE g2_SequenceId START 1

(postgres7): SELECT g_name, g_major, g_minor FROM g2_Schema

fopen(/var/www/dev.cau.se/htdocs/gallery/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/postgres/GalleryAlbumItem.sql,
r, 0)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)
fgets(Resource id #63, 4096)
feof(Resource id #63)

(postgres7): -- This file was automatically generated from an XSL
template, which is
-- why it looks so ugly. Editing it by hand would be a bad idea.
--

CREATE TABLE g2_AlbumItem (
g_id
INTEGER

NOT NULL

,
g_layout
VARCHAR(

32

)

,
g_theme
VARCHAR(

32

)

,
g_orderBy
VARCHAR(

128

)

,
g_orderDirection
VARCHAR(

32

)

)

(postgres7): ALTER TABLE g2_AlbumItem
ADD PRIMARY KEY (g_id)

(postgres7): INSERT INTO g2_Schema (
g_name,
g_major,
g_minor
) VALUES (
'AlbumItem',
1,
0
)

fclose(Resource id #63)
fopen(/var/www/dev.cau.se/htdocs/gallery/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/postgres/GalleryToolkitOperationParameterMap.sql,
r, 0)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)
fgets(Resource id #67, 4096)
feof(Resource id #67)

(postgres7): -- This file was automatically generated from an XSL
template, which is
-- why it looks so ugly. Editing it by hand would be a bad idea.
--

CREATE TABLE g2_TkOperatnParameterMap (
g_operationName
VARCHAR(

128

)

NOT NULL

,
g_position
INTEGER

NOT NULL

,
g_type
VARCHAR(

128

)

NOT NULL

,
g_description
VARCHAR(

255

)

)

(postgres7): CREATE INDEX g2_TkOperatnParameterMap_2014
ON g2_TkOperatnParameterMap
(g_operationName)

(postgres7): INSERT INTO g2_Schema (
g_name,
g_major,
g_minor
) VALUES (
'TkOperatnParameterMap',
1,
0
)

fclose(Resource id #67)
fopen(/var/www/dev.cau.se/htdocs/gallery/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/postgres/GalleryPluginParameterMap.sql,
r, 0)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)
fgets(Resource id #71, 4096)
feof(Resource id #71)

(postgres7): -- This file was automatically generated from an XSL
template, which is
-- why it looks so ugly. Editing it by hand would be a bad idea.
--

CREATE TABLE g2_PluginParameterMap (
g_pluginType
VARCHAR(

128

)

NOT NULL

,
g_pluginId
VARCHAR(

128

)

NOT NULL

,
g_itemId
INTEGER

NOT NULL

,
g_parameterName
VARCHAR(

128

)

NOT NULL

,
g_parameterValue
VARCHAR(

255

)

NOT NULL

)

(postgres7): CREATE INDEX g2_PluginParameterMap_12808
ON g2_PluginParameterMap
(g_pluginType
,
g_pluginId
,
g_itemId)

(postgres7): CREATE INDEX g2_PluginParameterMap_80596
ON g2_PluginParameterMap
(g_pluginType)

(postgres7): CREATE UNIQUE INDEX g2_PluginParameterMap_26955
ON g2_PluginParameterMap
(g_pluginType
,
g_pluginId
,
g_itemId
,
g_parameterName)

(postgres7): INSERT INTO g2_Schema (
g_name,
g_major,
g_minor
) VALUES (
'PluginParameterMap',
1,
0
)

fclose(Resource id #71)
fopen(/var/www/dev.cau.se/htdocs/gallery/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/postgres/GalleryDerivativeImage.sql,
r, 0)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)
fgets(Resource id #77, 4096)
feof(Resource id #77)

(postgres7): -- This file was automatically generated from an XSL
template, which is
-- why it looks so ugly. Editing it by hand would be a bad idea.
--

CREATE TABLE g2_DerivativeImage (
g_id
INTEGER

NOT NULL

,
g_width
INTEGER

,
g_height
INTEGER

)

(postgres7): ALTER TABLE g2_DerivativeImage
ADD PRIMARY KEY (g_id)

(postgres7): INSERT INTO g2_Schema (
g_name,
g_major,
g_minor
) VALUES (
'DerivativeImage',
1,
0
)

fclose(Resource id #77)
fopen(/var/www/dev.cau.se/htdocs/gallery/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/postgres/GalleryFileSystemEntity.sql,
r, 0)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)
fgets(Resource id #81, 4096)
feof(Resource id #81)

(postgres7): -- This file was automatically generated from an XSL
template, which is
-- why it looks so ugly. Editing it by hand would be a bad idea.
--

CREATE TABLE g2_FileSystemEntity (
g_id
INTEGER

NOT NULL

,
g_pathComponent
VARCHAR(

128

)

)

(postgres7): CREATE INDEX g2_FileSystemEntity_3406
ON g2_FileSystemEntity
(g_pathComponent)

(postgres7): ALTER TABLE g2_FileSystemEntity
ADD PRIMARY KEY (g_id)

(postgres7): INSERT INTO g2_Schema (
g_name,
g_major,
g_minor
) VALUES (
'FileSystemEntity',
1,
0
)

fclose(Resource id #81)
fopen(/var/www/dev.cau.se/htdocs/gallery/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/postgres/GalleryDerivative.sql,
r, 0)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)
fgets(Resource id #86, 4096)
feof(Resource id #86)

(postgres7): -- This file was automatically generated from an XSL
template, which is
-- why it looks so ugly. Editing it by hand would be a bad idea.
--

CREATE TABLE g2_Derivative (
g_id
INTEGER

NOT NULL

,
g_derivativeSourceId
INTEGER

NOT NULL

,
g_derivativeOperations
VARCHAR(

255

)

,
g_derivativeOrder
INTEGER

NOT NULL

,
g_derivativeSize
INTEGER

,
g_derivativeType
INTEGER

NOT NULL

,
g_mimeType
VARCHAR(

128

)

NOT NULL

,
g_postFilterOperations
VARCHAR(

255

)

)

(postgres7): CREATE INDEX g2_Derivative_85338
ON g2_Derivative
(g_derivativeSourceId)

(postgres7): CREATE INDEX g2_Derivative_25243
ON g2_Derivative
(g_derivativeOrder)

(postgres7): CREATE INDEX g2_Derivative_97216
ON g2_Derivative
(g_derivativeType)

(postgres7): ALTER TABLE g2_Derivative
ADD PRIMARY KEY (g_id)

(postgres7): INSERT INTO g2_Schema (
g_name,
g_major,
g_minor
) VALUES (
'Derivative',
1,
0
)

fclose(Resource id #86)
fopen(/var/www/dev.cau.se/htdocs/gallery/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/postgres/GalleryUserGroupMap.sql,
r, 0)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)
fgets(Resource id #93, 4096)
feof(Resource id #93)

(postgres7): -- This file was automatically generated from an XSL
template, which is
-- why it looks so ugly. Editing it by hand would be a bad idea.
--

CREATE TABLE g2_UserGroupMap (
g_userId
INTEGER

NOT NULL

,
g_groupId
INTEGER

NOT NULL

)

(postgres7): CREATE INDEX g2_UserGroupMap_69068
ON g2_UserGroupMap
(g_userId)

(postgres7): CREATE INDEX g2_UserGroupMap_89328
ON g2_UserGroupMap
(g_groupId)

(postgres7): INSERT INTO g2_Schema (
g_name,
g_major,
g_minor
) VALUES (
'UserGroupMap',
1,
0
)

fclose(Resource id #93)
fopen(/var/www/dev.cau.se/htdocs/gallery/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/postgres/GalleryPermissionMap.sql,
r, 0)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)
fgets(Resource id #98, 4096)
feof(Resource id #98)

(postgres7): -- This file was automatically generated from an XSL
template, which is
-- why it looks so ugly. Editing it by hand would be a bad idea.
--

CREATE TABLE g2_PermissionMap (
g_itemId
INTEGER

NOT NULL

,
g_userId
INTEGER

,
g_groupId
INTEGER

,
g_permission
BIT(32)

NOT NULL

)

(postgres7): CREATE INDEX g2_PermissionMap_75985
ON g2_PermissionMap
(g_itemId)

(postgres7): CREATE INDEX g2_PermissionMap_69068
ON g2_PermissionMap
(g_userId)

(postgres7): CREATE INDEX g2_PermissionMap_89328
ON g2_PermissionMap
(g_groupId)

(postgres7): INSERT INTO g2_Schema (
g_name,
g_major,
g_minor
) VALUES (
'PermissionMap',
1,
0
)

fclose(Resource id #98)
fopen(/var/www/dev.cau.se/htdocs/gallery/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/postgres/GalleryDerivativePreferencesMap.sql,
r, 0)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)
fgets(Resource id #104, 4096)
feof(Resource id #104)

(postgres7): -- This file was automatically generated from an XSL
template, which is
-- why it looks so ugly. Editing it by hand would be a bad idea.
--

CREATE TABLE g2_DerivativePrefsMap (
g_itemId
INTEGER

,
g_order
INTEGER

,
g_derivativeType
INTEGER

,
g_derivativeOperations
VARCHAR(

255

)

)

(postgres7): CREATE INDEX g2_DerivativePrefsMap_75985
ON g2_DerivativePrefsMap
(g_itemId)

(postgres7): INSERT INTO g2_Schema (
g_name,
g_major,
g_minor
) VALUES (
'DerivativePrefsMap',
1,
0
)

fclose(Resource id #104)
fopen(/var/www/dev.cau.se/htdocs/gallery/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/postgres/GalleryPluginMap.sql,
r, 0)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)

(postgres7): -- This file was automatically generated from an XSL
template, which is
-- why it looks so ugly. Editing it by hand would be a bad idea.
--

CREATE TABLE g2_PluginMap (
g_pluginType
VARCHAR(

128

)

NOT NULL

,
g_pluginId
VARCHAR(

128

)

NOT NULL

,
g_active
SMALLINT

NOT NULL

)

(postgres7): ALTER TABLE g2_PluginMap
ADD PRIMARY KEY (g_pluginType
,
g_pluginId)

(postgres7): INSERT INTO g2_Schema (
g_name,
g_major,
g_minor
) VALUES (
'PluginMap',
1,
0
)

fclose(Resource id #108)
fopen(/var/www/dev.cau.se/htdocs/gallery/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/postgres/GalleryToolkitPropertyMap.sql,
r, 0)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)
fgets(Resource id #112, 4096)
feof(Resource id #112)

(postgres7): -- This file was automatically generated from an XSL
template, which is
-- why it looks so ugly. Editing it by hand would be a bad idea.
--

CREATE TABLE g2_TkPropertyMap (
g_name
VARCHAR(

128

)

NOT NULL

,
g_type
VARCHAR(

128

)

NOT NULL

,
g_description
VARCHAR(

128

)

NOT NULL

)

(postgres7): INSERT INTO g2_Schema (
g_name,
g_major,
g_minor
) VALUES (
'TkPropertyMap',
1,
0
)

fclose(Resource id #112)
fopen(/var/www/dev.cau.se/htdocs/gallery/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/postgres/GalleryDescendentCountsMap.sql,
r, 0)
feof(Resource id #115)
fgets(Resource id #115, 4096)
feof(Resource id #115)
fgets

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2004-12-10 20:37

please try with current cvs or nightly snapshot; does this work?

 
pelle
pelle's picture

Joined: 2004-12-10
Posts: 389
Posted: Fri, 2004-12-10 22:58

The cvs version works