diff options
author | Daniel Golle <daniel@makrotopia.org> | 2020-09-27 19:55:09 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2020-10-05 15:39:05 +0100 |
commit | daa0f22b63c1442ad51122e5ba140c1ae5890267 (patch) | |
tree | f732b1eb5f78482ff0a7a367a6bce2eff9608437 /src/transport/test_transport_address_switch_udp_peer2.conf | |
parent | 400f527fbd5cb6d9523374f6f8d1320339c5b71a (diff) | |
download | gnunet-daa0f22b63c1442ad51122e5ba140c1ae5890267.tar.gz gnunet-daa0f22b63c1442ad51122e5ba140c1ae5890267.zip |
postgres: drop use of 'WITH OIDS'
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>
Diffstat (limited to 'src/transport/test_transport_address_switch_udp_peer2.conf')
0 files changed, 0 insertions, 0 deletions