PostgreSQL statement ERROR?

Author Message

christian stampf

Wednesday 24 September 2003 9:31:32 pm

hi,

i just run kernel_schema.sql against my postgreSQL server (version 7.2.x) and get an error:

aradirect=> CREATE INDEX ezurlalias_source_url ON ezurlalias(source_url(255));
ERROR: parser: parse error at or near "255"

any idea how to fix this?

Jan Borsodi

Thursday 25 September 2003 12:18:11 am

Try removing the (255) part from the text, ie.
CREATE INDEX ezurlalias_source_url ON ezurlalias(source_url);

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

christian stampf

Friday 26 September 2003 7:12:00 am

yes, this did the trick.

thanks a bunch!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 06:58:09
Script start
Timing: Jan 31 2025 06:58:09
Module start 'layout'
Timing: Jan 31 2025 06:58:09
Module start 'content'
Timing: Jan 31 2025 06:58:09
Module end 'content'
Timing: Jan 31 2025 06:58:09
Script end

Main resources:

Total runtime0.0178 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.2500151.2266
Module start 'layout' 0.00510.0035 739.476636.6641
Module start 'content' 0.00850.0079 776.140690.1563
Module end 'content' 0.01640.0014 866.296933.9922
Script end 0.0178  900.2891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002513.9101140.0002
Check MTime0.00116.3272140.0001
Mysql Total
Database connection0.00084.476810.0008
Mysqli_queries0.003218.183930.0011
Looping result0.00000.207110.0000
Template Total0.00105.510.0010
Template load0.00084.403410.0008
Template processing0.00021.052710.0002
Override
Cache load0.00063.210310.0006
General
dbfile0.003619.974180.0004
String conversion0.00000.050840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs