aboutsummaryrefslogtreecommitdiff
path: root/src/datacache/plugin_datacache_postgres.c
Commit message (Collapse)AuthorAge
* postgres: drop use of 'WITH OIDS'Daniel Golle2020-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 filesChristian Grothoff2020-01-24
|
* tighten formatting rulesChristian Grothoff2019-10-31
|
* libgnunetpq API change to fix #5733Christian Grothoff2019-10-11
|
* global reindent, now with uncrustify hook enabledChristian Grothoff2019-10-05
|
* uncrustify as demanded.ng02019-09-08
|
* src: for every AGPL3.0 file, add SPDX identifier.ng02019-01-14
|
* ensure datacache does not return expired records, fixig pq behavior with ↵Christian Grothoff2018-06-12
| | | | respect to FOREVER absolute time
* paragraph for gnunet devs that don't know how to use the webpsyc://loupsycedyglgamf.onion/~lynX2018-06-07
|
* glitch in the license text detected by hyazinthe, thank you!psyc://loupsycedyglgamf.onion/~lynX2018-06-07
|
* implement proper expiration logic also for postgres pluginChristian Grothoff2018-06-06
|
* first batch of license fixes (boring)psyc://loupsycedyglgamf.onion/~lynX2018-06-05
|
* add proximity considerations to datacacheChristian Grothoff2018-05-30
|
* fix major initialization issue in datacache postgres pluginChristian Grothoff2018-01-04
|
* allow NULL fields for varsizeChristian Grothoff2017-06-25
|
* rename GNUNET_PQ_QueryStatus to GNUNET_DB_QueryStatusChristian Grothoff2017-06-11
|
* no more need for libgnunetpostgresChristian Grothoff2017-06-03
|
* migrate another function to libgnunetpqChristian Grothoff2017-06-03
|
* migrate another function to libgnunetpqChristian Grothoff2017-06-03
|
* more work on pq-ification of datacacheChristian Grothoff2017-06-02
|
* adding more good helpers to libgnunetpqChristian Grothoff2017-06-01
|
* datacache: postgres: use IF NOT EXISTS to avoid error messagesDaniel Golle2016-10-13
|
* -avoid calling memcpy() with NULL argument, even if len is 0Christian Grothoff2016-07-08
|
* -fix (C) noticesChristian Grothoff2016-01-19
|
* fix #3869: outdated FSF addressChristian Grothoff2015-06-30
|
* implementing 'get_closest' API for sqlite and postgres datacache pluginsChristian Grothoff2015-04-30
|
* implementing postgres version of get_randomChristian Grothoff2015-04-29
|
* -doxygenChristian Grothoff2015-04-29
|
* -add counter for #itemsChristian Grothoff2015-04-29
|
* -bringing copyright tags up to FSF standardChristian Grothoff2015-02-07
|
* Include libpq-fe.h instead of postgres/libpq-fe.h.Sree Harsha Totakura2014-08-08
| | | | | Also add a macro for checking libpq from Autoconf macro archives.
* malloc -> newLRN2013-12-19
|
* -remove trailing whitespaceChristian Grothoff2013-10-06
|
* changing time measurement from milliseconds to microsecondsChristian Grothoff2013-08-11
|
* changing datacache API to separate put-paths from data (so that plugins can ↵Christian Grothoff2012-11-13
| | | | test for duplicates), removing support for MySQL
* -consistently use struct GNUNET_HashCodeChristian Grothoff2012-06-12
|
* -removing legacy ifdefs, fixing log statementsChristian Grothoff2012-05-06
|
* adding libgnunetpostgres for shared postgres functionality between postgres ↵Christian Grothoff2012-03-22
| | | | datastore/datacache backends
* -docsChristian Grothoff2012-03-22
|
* -dceChristian Grothoff2012-01-25
|
* LRN: Use GNUNET_EXTRA_LOGGING to manage compile-time logging callsChristian Grothoff2011-10-04
| | | | | | (#1805).
* run indent twice, it alternates between two 'canonical' forms, also run ↵Christian Grothoff2011-08-29
| | | | whitespace remover
* indentationChristian Grothoff2011-08-15
|
* indentationChristian Grothoff2011-08-15
|
* cleanerChristian Grothoff2010-12-21
|
* cleanerChristian Grothoff2010-12-21
|
* moving plugin headersChristian Grothoff2010-11-05
|
* (no commit message)Matthias Wachs2010-10-27
|
* Refactoring gnunet timeMatthias Wachs2010-10-27
|
* use size_tChristian Grothoff2010-10-06
|