Ad Widget

Collapse

Problems with postgres and alpha 6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • teleneko
    Junior Member
    • Oct 2004
    • 20

    #1

    Problems with postgres and alpha 6

    Hello,

    I am triying to install the alpha 6 with postgres but the upgrading schemas does not work. The problem is that the statement to alter the table is not valid (at least for 7.4.7 version) because it tries to do three actions in a single stament (add a column, set the default value and set the not null constraint). In order to upgrade the database yoy need three statements for each one. Here is an example:

    this stament:
    alter table sysmaps_hosts add icon_on varchar(32) SET DEFAULT 'Server' SET NOT NULL;

    is changed for these four:
    alter table sysmaps_hosts add icon_on varchar(32);
    alter table sysmaps_hosts add icon_on SET DEFAULT 'Server';
    update sysmaps_hosts set icon_on='icon';
    alter table sysmaps_hosts add icon_on SET NOT NULL;

    Also there is another small mistake, the type blob is in fact bytea.

    The question are ... Is this an overlook or I need to upgrade to postgresql 8.0?

    Is anyone using the alpha version with postgresql who does not mind tell the experience?

    Thanx.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    ZABBIX 1.1 alphas do not support PostgreSQL yet.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • teleneko
      Junior Member
      • Oct 2004
      • 20

      #3
      Problems with postgres and alpha 6

      O sorry, I have understand that it suported it yet because of this message:

      12/01/2005: Support of Oracle is coming soon

      Currently ZABBIX supports two database engines, MySQL and PostgreSQL. Support of Oracle will be interesting option for those who are looking for best availability and enterprise level features.

      Work has already been started. Estimated delivery date: 1st quarter of 2005.

      and the presence of the upgrade scripts.

      I will wait . Thanx.

      Comment

      Working...