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

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

    <bug>
          <bug_id>21267</bug_id>
          
          <creation_ts>2009-08-28 06:51:15 +0400</creation_ts>
          <short_desc>не работает функция lower</short_desc>
          <delta_ts>2010-08-26 12:24:43 +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>postgresql8.3-server</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Chichak">Andrey.Chichak</reporter>
          <assigned_to name="Michael Bochkaryov">misha</assigned_to>
          <cc>boris</cc>
    
    <cc>icesik</cc>
    
    <cc>misha</cc>
    
    <cc>mithraen</cc>
    
    <cc>ns</cc>
    
    <cc>thresh</cc>
    
    <cc>vvk</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>97486</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Chichak">Andrey.Chichak</who>
    <bug_when>2009-08-28 06:51:15 +0400</bug_when>
    <thetext>после обновления с alt2 на alt3 оператор

select lower(&apos;q&apos;);

приводит к краху сервера !</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97500</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Bochkaryov">misha</who>
    <bug_when>2009-08-28 11:58:28 +0400</bug_when>
    <thetext>Вопрос уже возникал, достаточно подробный разбор полетов здесь:
http://bugs.etersoft.ru/show_bug.cgi?id=4197

У меня воспроизвести проблему не удалось.
Среда: Sisyphus x86_64 не самой первой свежести
Пакет: postgresql8.3-server-8.3.7-alt3 (тот самый)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98310</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Bochkaryov">misha</who>
    <bug_when>2009-09-05 17:51:41 +0400</bug_when>
    <thetext>Собрал postgresql8.3-8.3.7 с патчем от ns@:
http://git.altlinux.org/people/misha/packages/postgresql8.3.git</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98444</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan Fedorov">ns</who>
    <bug_when>2009-09-08 09:18:44 +0400</bug_when>
    <thetext>в сизифе новая сборка, проверяйте...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98445</commentid>
    <comment_count>4</comment_count>
    <who name="Igor Zubkov">icesik</who>
    <bug_when>2009-09-08 09:39:57 +0400</bug_when>
    <thetext>(В ответ на комментарий №3)
&gt; в сизифе новая сборка, проверяйте...

Всё так же сегфолтится.

В логе:
*** buffer overflow detected ***: postgres: sisyphus development [local] SELECT terminated
LOG:  server process (PID 3185) was terminated by signal 6: Aborted
LOG:  terminating any other active server processes
LOG:  all server processes terminated; reinitializing
LOG:  could not open file &quot;postmaster.pid&quot;: No such file or directory
LOG:  database system was interrupted; last known up at 2009-09-08 08:35:22 EEST
LOG:  database system was not properly shut down; automatic recovery in progress
LOG:  record with zero length at 0/72F03DC
LOG:  redo is not required
LOG:  autovacuum launcher started
LOG:  database system is ready to accept connections

Пакеты:
[root@iceberg ~]# rpm -qa | grep ^postgresql
postgresql8.3-docs-8.3.7-alt4
postgresql8.3-8.3.7-alt4
postgresql8.3-contrib-8.3.7-alt4
postgresql8.3-devel-8.3.7-alt4
postgresql8.3-server-8.3.7-alt4
postgresql-common-1.0-alt5
[root@iceberg ~]#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98446</commentid>
    <comment_count>5</comment_count>
    <who name="Boris Savelev">boris</who>
    <bug_when>2009-09-08 09:53:12 +0400</bug_when>
    <thetext>мне кажется, что надо целиком портировать этот комит
http://git.postgresql.org/gitweb?p=postgresql.git;a=commit;h=93ce909632ca3d199ddc46486851f583b87be832</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98453</commentid>
    <comment_count>6</comment_count>
    <who name="Ivan Fedorov">ns</who>
    <bug_when>2009-09-08 10:34:54 +0400</bug_when>
    <thetext>Ну его нафик, я лучше pgsql буду собирать рабочим компилятором, без меганавороченных оптимизаторов, то есть gcc4.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98454</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Bochkaryov">misha</who>
    <bug_when>2009-09-08 10:39:59 +0400</bug_when>
    <thetext>(В ответ на комментарий №5)
&gt; мне кажется, что надо целиком портировать этот комит
&gt; http://git.postgresql.org/gitweb?p=postgresql.git;a=commit;h=93ce909632ca3d199ddc46486851f583b87be832

Может, стоит прибить гвоздями сборку с помощью gcc4.3, если с ним проблем нет?
И таки заняться выкатыванием сборки 8.4 на новом тулчейне?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111577</commentid>
    <comment_count>8</comment_count>
    <who name="Andrey Chichak">Andrey.Chichak</who>
    <bug_when>2010-08-26 12:24:43 +0400</bug_when>
    <thetext>починено</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>