#1 Postgresql SUPPORT

closed
nobody
snmptt (9)
5
2003-03-28
2003-03-25
Anonymous
No

Hi !! I would like to request a postgresql support on the
application!

Thanks in advance

Alex
spappola@hotmail.com

Discussion

  • Alex Burger

    Alex Burger - 2003-03-26
    • labels: --> snmptt
    • status: open --> pending
     
  • Alex Burger

    Alex Burger - 2003-03-26

    Logged In: YES
    user_id=85836

    I have added Postgres support to the current CVS version. It
    requries the DBD::PgPP Perl module from CPAN. The
    readme.html file has been updated (in CVS) to include
    Postgres information.

    I do not have Postgres installed, so I can not test it. Can you
    please test it out and let me know if it works? Also, please
    verify if the script I have in the readme file will work under
    Postgres.

    Thanks

    Alex

     
  • Alex Burger

    Alex Burger - 2003-03-26

    Logged In: YES
    user_id=85836

    If you would rather use DBD::Pg from
    http://gborg.postgresql.org/project/dbdpg/projdisplay.php then
    edit snmptt and change:

    require DBD::PgPP;
    to
    require DBD::Pg;

    and

    unless ($dbh_postgresql = DBI->connect
    ("DBI:PgPP:$postgresql_dbi_database",$postgresql_dbi_user
    name,$postgresql_dbi_password) )

    to

    unless ($dbh_postgresql = DBI->connect
    ("DBI:Pg:$postgresql_dbi_database",$postgresql_dbi_userna
    me,$postgresql_dbi_password) )

    Nothing else should need changing.

    Please let me know which you use, and what works.

    Thanks.

    Alex

     
  • Alex Burger

    Alex Burger - 2003-03-26
    • status: pending --> open
     
  • Alex Burger

    Alex Burger - 2003-03-28

    Logged In: YES
    user_id=85836

    Tested with DBD::PgPP and it works fine. Readme file
    updated in CVS.

    Does not work as is with Pg module.

     
  • Alex Burger

    Alex Burger - 2003-03-28
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks