<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kea.git/src/lib/pgsql/pgsql_exchange.cc, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>http://git.gnuabordo.com.br/kea.git/atom?h=master</id>
<link rel='self' href='http://git.gnuabordo.com.br/kea.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.gnuabordo.com.br/kea.git/'/>
<updated>2022-09-23T14:01:36+00:00</updated>
<entry>
<title>[#2532] Fixed 2038 vs postgreSQL issue</title>
<updated>2022-09-23T14:01:36+00:00</updated>
<author>
<name>Francis Dupont</name>
<email>fdupont@isc.org</email>
</author>
<published>2022-08-31T13:36:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gnuabordo.com.br/kea.git/commit/?id=0b3efadffaa69cd823de6d95f5263e3b67e41778'/>
<id>urn:sha1:0b3efadffaa69cd823de6d95f5263e3b67e41778</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[#95] Fix time handling and make installable</title>
<updated>2022-02-17T21:05:25+00:00</updated>
<author>
<name>Thomas Markwalder</name>
<email>tmark@isc.org</email>
</author>
<published>2022-02-17T21:05:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gnuabordo.com.br/kea.git/commit/?id=c164541e3ac7deba104b3c1926c22a0bb0857268'/>
<id>urn:sha1:c164541e3ac7deba104b3c1926c22a0bb0857268</id>
<content type='text'>
src/hooks/dhcp/pgsql_cb/pgsql_query_macros_dhcp.h
    Use gmt_epoch() to fetch timestamps

src/lib/pgsql/pgsql_exchange.*
    PsqlBindArray::addTimestamp()
    PsqlBindArray::addTimestamp()
    - use convertLocaltoDatabaseTime()

    PgSqlExchange::convertLocalToDatabaseTime()
    - new function for converting local times

src/lib/pgsql/tests/pgsql_basics.*
    Add LOCALTIME_COL column

src/lib/pgsql/tests/pgsql_exchange_unittest.cc
    Update unit tests

src/share/database/scripts/pgsql/dhcpdb_create.pgsql
src/share/database/scripts/pgsql/upgrade_008_to_009.sh.in
src/share/database/scripts/pgsql/dhcpdb_drop.pgsql
    Add gmt_epoch() function

src/share/database/scripts/pgsql/wipe_data.sh.in
    Fix order of tables
</content>
</entry>
<entry>
<title>[#95] fixed comments and indentation</title>
<updated>2022-02-17T19:12:10+00:00</updated>
<author>
<name>Razvan Becheriu</name>
<email>razvan@isc.org</email>
</author>
<published>2022-02-16T18:18:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gnuabordo.com.br/kea.git/commit/?id=267af65edb8535730eda79747b163f9319fc8aac'/>
<id>urn:sha1:267af65edb8535730eda79747b163f9319fc8aac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[#95] Adds v4 support for networks,subnets,pools,options</title>
<updated>2022-02-17T19:12:10+00:00</updated>
<author>
<name>Thomas Markwalder</name>
<email>tmark@isc.org</email>
</author>
<published>2022-02-10T16:44:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gnuabordo.com.br/kea.git/commit/?id=7f724e161fca983df0280b8be9f7c3e58d5d8321'/>
<id>urn:sha1:7f724e161fca983df0280b8be9f7c3e58d5d8321</id>
<content type='text'>
    configure.ac
        added pgsql/upgrade_008_to_009.sh

    src/share/database/scripts/pgsql/dhcpdb_create.pgsql
    src/share/database/scripts/pgsql/upgrade_008_to_009.sh.in
        Corrected typo dhcp4_option_def_server_option_def_id_fkey
        Add missing cascade to constraint on dhcp4/6_subnet_server tables.
        Dropped extraneous dhcp4/6_shared_network_ADEL triggers

        Replaced createOptionAuditDHCP4() and
        createOptionAuditDHCP6() with corrected local variable type

    src/bin/admin/tests/pgsql_tests.sh.in
        updated expected schema version
        added pgsql_upgrade_8_0_to_9_0()

    src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc
        Disabled TEST_F(MySqlConfigBackendDHCPv4Test, getAllSharedNetworks4Test)

    src/hooks/dhcp/pgsql_cb/pgsql_cb_dhcp4.cc
        implemented functions for shared-networks, subnets,
        pools, options, and option-defs

    src/hooks/dhcp/pgsql_cb/pgsql_cb_impl.*
        PgSqlConfigBackendImpl::
        setRelays()
        setRequireClasses()
        - new convenience functions

        getAllOptions()
        getOptions()
        - implemented

        Changed reference tracking from bool to counter
        processOptionRow()
        addOptionValueBinding() -  corrected buffer handling

    src/hooks/dhcp/pgsql_cb/tests/pgsql_cb_dhcp4_unittest.cc
        Added tests subnets, shared networks, pools, options, option defs,

    src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.*
        GenericConfigBackendDHCPv4Test::testNewAuditEntry() new variant which
        accepts a list of expected audit entries

        GenericConfigBackendDHCPv4Test::getAllSharedNetworks4Test() - now
        tests for an expected list of audit entries
</content>
</entry>
<entry>
<title>[#95] Fix a minor typo.</title>
<updated>2022-02-10T14:12:12+00:00</updated>
<author>
<name>Thomas Markwalder</name>
<email>tmark@isc.org</email>
</author>
<published>2022-02-10T14:12:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gnuabordo.com.br/kea.git/commit/?id=c5836c791b63f42173bb604dd5f05d7110f3e716'/>
<id>urn:sha1:c5836c791b63f42173bb604dd5f05d7110f3e716</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[#95] Fixed commentary typo</title>
<updated>2022-02-10T14:04:34+00:00</updated>
<author>
<name>Thomas Markwalder</name>
<email>tmark@isc.org</email>
</author>
<published>2022-02-10T14:04:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gnuabordo.com.br/kea.git/commit/?id=fb694e4c578b57eb215439cc30a1c8f93ca88c1b'/>
<id>urn:sha1:fb694e4c578b57eb215439cc30a1c8f93ca88c1b</id>
<content type='text'>
modified:   src/lib/pgsql/pgsql_exchange.cc
</content>
</entry>
<entry>
<title>[#95] addressed some review comments and formatting</title>
<updated>2022-02-10T12:51:34+00:00</updated>
<author>
<name>Razvan Becheriu</name>
<email>razvan@isc.org</email>
</author>
<published>2022-02-10T12:51:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gnuabordo.com.br/kea.git/commit/?id=e32b6f36704091cfee5fc8cf7165c9924059dccc'/>
<id>urn:sha1:e32b6f36704091cfee5fc8cf7165c9924059dccc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[#95] Change PsqlBindArray::insert() to duplicate value</title>
<updated>2022-02-09T14:43:15+00:00</updated>
<author>
<name>Thomas Markwalder</name>
<email>tmark@isc.org</email>
</author>
<published>2022-02-08T13:24:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gnuabordo.com.br/kea.git/commit/?id=2438769d9e25885ffde47ee1bf3cc431481a1c2f'/>
<id>urn:sha1:2438769d9e25885ffde47ee1bf3cc431481a1c2f</id>
<content type='text'>
src/lib/pgsql/pgsql_exchange.*
    PsqlBindArray::insert(const std::string&amp; value, size_t index)
    - now creates an internal copy of the string value
</content>
</entry>
<entry>
<title>[#95] Postgresql v4 backend now supports global parameters</title>
<updated>2022-02-09T14:43:15+00:00</updated>
<author>
<name>Thomas Markwalder</name>
<email>tmark@isc.org</email>
</author>
<published>2022-01-28T12:45:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gnuabordo.com.br/kea.git/commit/?id=31f764eacc79865e589227cefee40fe3ccd59351'/>
<id>urn:sha1:31f764eacc79865e589227cefee40fe3ccd59351</id>
<content type='text'>
    Added support for global paramters and new convenience
    class, PgSqlResultRowWorker

src/hooks/dhcp/pgsql_cb/pgsql_cb_dhcp4.cc
    PgSqlConfigBackendDHCPv4Impl::getGlobalParameter4()
    PgSqlConfigBackendDHCPv4Impl::createUpdateGlobalParameter4()
    - implemented

src/hooks/dhcp/pgsql_cb/pgsql_cb_impl.cc
    PgSqlConfigBackendImpl::getRecentAuditEntries()
    PgSqlConfigBackendImpl::getServers()
    - now uses PgSqlResultRowWorker

    PgSqlConfigBackendImpl::getGlobalParameters()
    - implemented

src/hooks/dhcp/pgsql_cb/tests/pgsql_cb_dhcp4_unittest.cc
    TEST_F(PgSqlConfigBackendDHCPv4Test, getAndDeleteAllServersTest)
    TEST_F(PgSqlConfigBackendDHCPv4Test, createUpdateDeleteGlobalParameter4Test)
    TEST_F(PgSqlConfigBackendDHCPv4Test, globalParameters4WithServerTagsTest)
    TEST_F(PgSqlConfigBackendDHCPv4Test, getAllGlobalParameters4Test)
    TEST_F(PgSqlConfigBackendDHCPv4Test, getModifiedGlobalParameters4Test)
    TEST_F(PgSqlConfigBackendDHCPv4Test, nullKeyErrorTest)
    - new tests

src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc
    GenericConfigBackendDHCPv4Test::nullKeyErrorTest()
    - only checks exception type, since messages between backends
    are different

src/lib/pgsql/pgsql_exchange.*
    PgSqlExchange::convertFromBytea()
    - new function outputs a vector

    PgSqlExchange::getTripletValue()
    PgSqlExchange::getTripletValue()
    - new functions

    PgSqlResultRowWorker
    - new convenience class for accessing columns in a
    result set row

src/lib/pgsql/tests/pgsql_basics.cc
    Added new columns to basics table

src/lib/pgsql/tests/pgsql_exchange_unittest.cc
    TEST_F(PgSqlBasicsTest, tripleTest)
    TEST_F(PgSqlBasicsTest, resultRowWorker)
    - new tests
</content>
</entry>
<entry>
<title>[#2285] Addressed further comments</title>
<updated>2022-02-07T19:21:27+00:00</updated>
<author>
<name>Thomas Markwalder</name>
<email>tmark@isc.org</email>
</author>
<published>2022-02-07T19:21:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gnuabordo.com.br/kea.git/commit/?id=7da642078661a1080f70f63840b0cdf675ad64e7'/>
<id>urn:sha1:7da642078661a1080f70f63840b0cdf675ad64e7</id>
<content type='text'>
src/lib/pgsql/pgsql_exchange.*
    PsqlBindArray::addTempBinary() - new function

src/lib/pgsql/tests/pgsql_exchange_unittest.cc
    TEST(PsqlBindArray, addDataTest) - added use of
    addTempBinary()
</content>
</entry>
</feed>
