<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>5514</bug_id>
          
          <creation_ts>2004-11-16 15:39:07 +0300</creation_ts>
          <short_desc>postgresql crashed on plperlu function</short_desc>
          <delta_ts>2008-08-02 03:58:46 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>postgresql</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="victor kasatkin">victork</reporter>
          <assigned_to name="Denis Smirnov">mithraen</assigned_to>
          <cc>mike</cc>
    
    <cc>ns</cc>
    
    <cc>vlad.kadastr</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>19843</commentid>
    <comment_count>0</comment_count>
    <who name="victor kasatkin">victork</who>
    <bug_when>2004-11-16 15:39:07 +0300</bug_when>
    <thetext>Обнаружил при перезде базы с Мастера 2.0 на последний сизиф - функции plperlu
которые работали стали вызывать падение сервера...


Steps to Reproduce:
1.#psql some_database;

2.s_m=#CREATE FUNCTION plperl_call_handler () RETURNS language_handler
    AS &apos;$libdir/plperl&apos;, &apos;plperl_call_handler&apos;
    LANGUAGE c;


3.s_m=#CREATE PROCEDURAL LANGUAGE plperlu HANDLER plperl_call_handler;

4.s_m=#CREATE FUNCTION test() RETURNS integer AS &apos;
    return 1;
&apos; LANGUAGE plperlu;

5.s_m=# select test();
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.
The connection to the server was lost. Attempting reset: Failed. !&gt;  


Actual Results:  
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.
The connection to the server was lost. Attempting reset: Failed. !&gt;  



Expected Results:  
1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21990</commentid>
    <comment_count>1</comment_count>
    <who name="Vlad Panchenko">vlad.kadastr</who>
    <bug_when>2005-02-12 14:10:30 +0300</bug_when>
    <thetext>*** Bug 6100 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26028</commentid>
    <comment_count>2</comment_count>
    <who name="Denis Smirnov">mithraen</who>
    <bug_when>2005-06-20 02:38:41 +0400</bug_when>
    <thetext>Буду смотреть.
Причины этого кто-нибудь уже исследовал?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26108</commentid>
    <comment_count>3</comment_count>
    <who name="victor kasatkin">victork</who>
    <bug_when>2005-06-20 18:33:55 +0400</bug_when>
    <thetext>я к примеру не знаю как - но с 8(а там фичи перловые новые) тоже не работает
(интересно как в мастере 24)..
мне так мнилось что надо перл и пост собирать вместе...но я не пробовал...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40840</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2006-09-28 22:54:32 +0400</bug_when>
    <thetext>Случайно не из-за chroot?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41512</commentid>
    <comment_count>5</comment_count>
    <who name="Denis Smirnov">mithraen</who>
    <bug_when>2006-10-19 02:08:10 +0400</bug_when>
    <thetext>perl с postgresql в chroot нормально работать не будет.
Либо вытаскивайте из chroot, либо не используйте plperl.

В любом случае пакет postgresql (то бишь версии &lt; 8) более не поддерживаются
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>