Is there a postgresql pgcrypto digest function workaround?

Author Message

Andre Felipe Machado

Thursday 06 January 2005 5:21:58 am

Hello,
My hosting provider is unwilling to install postgresql-contrib package, fearing that it will negatively impact other users, or security flaws and so on.
Are there any risks involved?
Is there a workaround to get ezpublish working on postgresql without pgcrypto digest function installed?
Regards.
Andre Felipe

---
A Debian user never dies. Issues a last command:
shutdown -h now

http://www.techforce.com.br

Jan Borsodi

Thursday 06 January 2005 5:31:51 am

I don't believe there are any workarounds for this. eZ publish will not work without the <i>digest</i> function provided by the contrib package.

But installing the contrib package should be quite safe, you still have to make the functions available to each database by running the included SQLs in the package.

--
Amos

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

Andre Felipe Machado

Thursday 06 January 2005 5:34:37 am

Hello,
Many thanks for your message.
Instead of installing the whole postgresql-contrib package, he could install only the pgcrypto from sources and ezpublish will run?
Regards.
Andre Felipe

---
A Debian user never dies. Issues a last command:
shutdown -h now

http://www.techforce.com.br

Jan Borsodi

Thursday 06 January 2005 6:24:34 am

Yes, just install the <i>pgcrypto.sql</i> file as mentioned in this FAQ:
http://ez.no/content/view/full/63327

--
Amos

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

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 05:31:58
Script start
Timing: Jan 31 2025 05:31:58
Module start 'layout'
Timing: Jan 31 2025 05:31:58
Module start 'content'
Timing: Jan 31 2025 05:31:58
Module end 'content'
Timing: Jan 31 2025 05:31:58
Script end

Main resources:

Total runtime0.8785 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.5859151.2422
Module start 'layout' 0.00530.0027 739.828136.6953
Module start 'content' 0.00800.8697 776.5234947.4766
Module end 'content' 0.87770.0008 1,724.000012.0938
Script end 0.8785  1,736.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3628160.0002
Check MTime0.00140.1547160.0001
Mysql Total
Database connection0.00060.067610.0006
Mysqli_queries0.816192.8981600.0136
Looping result0.00070.0746580.0000
Template Total0.835195.120.4175
Template load0.00210.233920.0010
Template processing0.833094.821720.4165
Template load and register function0.00130.142910.0013
states
state_id_array0.00260.296210.0026
state_identifier_array0.00190.210720.0009
Override
Cache load0.00170.1988250.0001
Sytem overhead
Fetch class attribute can translate value0.00070.080820.0004
Fetch class attribute name0.00200.232460.0003
XML
Image XML parsing0.00260.300920.0013
class_abstraction
Instantiating content class attribute0.00000.001980.0000
General
dbfile0.00350.3965230.0002
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs