1. 04 Jul, 2016 1 commit
  2. 23 Jun, 2016 2 commits
  3. 20 Oct, 2015 1 commit
    • Thomas Markwalder's avatar
      [3969] Added upgrade support from Postgres schema 1.0 to 2.0 · 49b0bac2
      Thomas Markwalder authored
      Upgrade adds state column to both lease tables, the state table,
      and the lease dump functions.
      
      src/bin/admin/scripts/pgsql/upgrade_1.0_to_2.0.sh -
          new script for upgrading postgres schema
      
      src/bin/admin/tests/dhcpdb_create_1.0.pgsql
          new sql script for creating 1.0 schema db
      
      configure.ac
          added entry for new upgrade script
      
      src/bin/admin/kea-admin.in
          pgsql_upgrade() - modified to set Postgres password env variable
          and pass in remaining args as psql expects them
      
      src/bin/admin/scripts/pgsql/Makefile.am
          added entry for new upgrade script
      
      src/bin/admin/tests/Makefile.am
          added entry for 1.0 schema script
      
      src/bin/admin/tests/pgsql_tests.sh.in
          pgsql_upgrade_test()  - revamped now that Postgres actually
          has its first upgrade script.
      49b0bac2
  4. 29 Jun, 2015 1 commit
  5. 28 May, 2015 1 commit
    • Thomas Markwalder's avatar
      [3883] Added support for PostgreSQL to kea-admin · 094d49f6
      Thomas Markwalder authored
      configure.ac
          - added src/bin/admin/tests/pgsql_tests.sh to list of config
          generated files (i.e AC_CONFIG_FILES)
      
      src/bin/admin/tests/pgsql_tests.sh.in
          - new file containing unit tests of for kea-admin PostgreSQL support
      
      src/bin/admin/tests/Makefile.am
          - added pgsql_tests.sh
      
      src/bin/admin/admin-utils.sh
          - added PosgreSQL support functions:
          pgsql_execute()
          pgsql_execute_script()
          pgsql_version()
          pgsql_version_print()
      
      src/bin/admin/kea-admin.in
          - implemented pgsql_init()
          - removed pgsql_version(), kea-admin uses function in
          admin-utils.sh directly
          - implemented pgsql_upgrade() - note that it fails with exit 1
          as there are not yet any upgrades available
      094d49f6
  6. 18 Feb, 2015 1 commit
  7. 29 Dec, 2014 1 commit
  8. 05 Nov, 2014 1 commit