Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | postgres: drop use of 'WITH OIDS' | Daniel Golle | 2020-10-05 |
| | | | | | | | | | | | | | | | | | | | | | | PostgreSQL since version 12 no longer supports 'WITH OIDS': Previously, a normally-invisible oid column could be specified during table creation using WITH OIDS; that ability has been removed. Columns can still be explicitly declared as type oid. Operations on tables that have columns created using WITH OIDS will need adjustment. The system catalogs that previously had hidden oid columns now have ordinary oid columns. Hence, SELECT * will now output those columns, whereas previously they would be displayed only if selected explicitly. Drop 'WITH OIDS' as it was stated even on tables for plugins which didn't make any use of the then exposed 'oid' column. In the case of datacache and datastore the 'oid' column is used, so replace the 'WITH OIDS' statement with an explicit 'oid' column having 'OID' type and a corresponding sequence. No measures are taken to still work with PostgreSQL before version 12. Users should update PostgreSQL to version 12 or newer. Signed-off-by: Daniel Golle <daniel@makrotopia.org> | ||
* | modify GNUNET_PQ_connect_with_cfg to enable flexible loading of .sql files | Christian Grothoff | 2020-01-24 |
| | |||
* | tighten formatting rules | Christian Grothoff | 2019-10-31 |
| | |||
* | libgnunetpq API change to fix #5733 | Christian Grothoff | 2019-10-11 |
| | |||
* | global reindent, now with uncrustify hook enabled | Christian Grothoff | 2019-10-05 |
| | |||
* | uncrustify as demanded. | ng0 | 2019-09-08 |
| | |||
* | fix possibility of NULL result for empty database | Christian Grothoff | 2019-02-19 |
| | |||
* | src: for every AGPL3.0 file, add SPDX identifier. | ng0 | 2019-01-14 |
| | |||
* | paragraph for gnunet devs that don't know how to use the web | psyc://loupsycedyglgamf.onion/~lynX | 2018-06-07 |
| | |||
* | glitch in the license text detected by hyazinthe, thank you! | psyc://loupsycedyglgamf.onion/~lynX | 2018-06-07 |
| | |||
* | better indentation, nicer formatting of SQL | Christian Grothoff | 2018-06-06 |
| | |||
* | first batch of license fixes (boring) | psyc://loupsycedyglgamf.onion/~lynX | 2018-06-05 |
| | |||
* | rename GNUNET_PQ_QueryStatus to GNUNET_DB_QueryStatus | Christian Grothoff | 2017-06-11 |
| | |||
* | finish datastore pq refactoring | Christian Grothoff | 2017-06-04 |
| | |||
* | more pq work | Christian Grothoff | 2017-06-03 |
| | |||
* | adding more good helpers to libgnunetpq | Christian Grothoff | 2017-06-01 |
| | |||
* | [datastore] Create remove plugin API call | David Barksdale | 2017-04-16 |
| | | | | | | The only use of vhash in the get_key call was for removing, split that out into its own function. This simplifies the get_key call and removes the need for some indexes, speeding up insertion into the database. | ||
* | [datastore] Combine put and update plugin APIs | David Barksdale | 2017-04-16 |
| | | | | This resolves issue #4965. | ||
* | [datastore] Return and update replication | David Barksdale | 2017-03-22 |
| | | | | | | This fixes a couple FIXMEs in the datastore code. The replication value is now returned from the datastore and the update function can increase the replication. | ||
* | [datastore] Fix #3743 | David Barksdale | 2017-03-19 |
| | | | | | | | | | | | | | | | | | | | | This change adds support for key == NULL to the datastore plugins and replaces the offset argument with a next_uid and random arguments to increase performance in the key == NULL case. With the offset argument a datastore plugin would have to count all matching keys before fetching the key at the right offset, which would iterate over the entire database in the case of key == NULL. The offset argument was used in two ways: to iterate over a set of matching values and to start iteration at a random matching value. The new API seperates these into two arguments: if random is true it will return a random matching value, otherwise next_uid can be set to uid + 1 to return the next matching value. The random argument was not added to get_zero_anonymity. This function is used to periodically insert zero anonymity values into the DHT. I don't think it's necessary to randomize this. | ||
* | we use CREATE INDEX IF NOT EXITS, this requires postgres>=9.6, bump ↵ | Christian Grothoff | 2017-03-09 |
| | | | | dependency requirements | ||
* | Restrict update to positive priority deltas | David Barksdale | 2017-02-20 |
| | | | | | This is only ever called with positive values and the mysql and postgres plugins were not handling negative values correctly anyway. | ||
* | datastore: postgres: use IF NOT EXISTS to avoid error messages | Daniel Golle | 2016-10-13 |
| | |||
* | -avoid calling memcpy() with NULL argument, even if len is 0 | Christian Grothoff | 2016-07-08 |
| | |||
* | -bugfix, adding comments, fixing indent | Christian Grothoff | 2016-03-14 |
| | |||
* | make some more use of libgnunetpq | Christian Grothoff | 2016-02-06 |
| | |||
* | -fix (C) notices | Christian Grothoff | 2016-01-19 |
| | |||
* | fix #3869: outdated FSF address | Christian Grothoff | 2015-06-30 |
| | |||
* | Convert datastore plugin API to asynchronous | David Barksdale | 2015-03-21 |
| | |||
* | -bringing copyright tags up to FSF standard | Christian Grothoff | 2015-02-07 |
| | |||
* | Workaround emscripten bug in returning int64_t | David Barksdale | 2015-01-06 |
| | | | | | Emscripten can't return a 64-bit integer from dynamically loaded code. | ||
* | Include libpq-fe.h instead of postgres/libpq-fe.h. | Sree Harsha Totakura | 2014-08-08 |
| | | | | | Also add a macro for checking libpq from Autoconf macro archives. | ||
* | -doxygen | Christian Grothoff | 2014-06-08 |
| | |||
* | malloc -> new | LRN | 2013-12-19 |
| | |||
* | -remove trailing whitespace | Christian Grothoff | 2013-10-06 |
| | |||
* | changing time measurement from milliseconds to microseconds | Christian Grothoff | 2013-08-11 |
| | |||
* | -consistently use struct GNUNET_HashCode | Christian Grothoff | 2012-06-12 |
| | |||
* | -fix | Christian Grothoff | 2012-04-02 |
| | |||
* | -removing legacy #ifdefs | Christian Grothoff | 2012-04-01 |
| | |||
* | -doxygen | Christian Grothoff | 2012-03-23 |
| | |||
* | -check return code | Christian Grothoff | 2012-03-23 |
| | |||
* | adding libgnunetpostgres for shared postgres functionality between postgres ↵ | Christian Grothoff | 2012-03-22 |
| | | | | datastore/datacache backends | ||
* | -docs | Christian Grothoff | 2012-03-22 |
| | |||
* | -implementing get_keys for postgres | Christian Grothoff | 2011-12-17 |
| | |||
* | LRN: Use GNUNET_EXTRA_LOGGING to manage compile-time logging calls | Christian Grothoff | 2011-10-04 |
| | | | | | | (#1805). | ||
* | doxygen | Christian Grothoff | 2011-09-02 |
| | |||
* | run indent twice, it alternates between two 'canonical' forms, also run ↵ | Christian Grothoff | 2011-08-29 |
| | | | | whitespace remover | ||
* | indentation | Christian Grothoff | 2011-08-15 |
| | |||
* | indentation | Christian Grothoff | 2011-08-15 |
| | |||
* | use postgres PRNG also on insertion | Christian Grothoff | 2011-08-02 |
| |