Commit graph

5 commits

Author SHA1 Message Date
Julien Rouhaud
119686936e Document which access methods are supported. 2021-01-22 21:02:38 +08:00
Julien Rouhaud
2bd376d6bd Change the Oid generator.
To avoid locking on pg_class (required to safely call GetNewOidWithIndex or
similar) and to be usable on a standby node, use the oids unused in the
FirstBootstrapObjectId / FirstNormalObjectId range rather than real oids.  For
performance, always start with the biggest oid lesser than FirstNormalObjectId.
This way the loop to find an unused oid will only happens once a single backend
has created more than ~2.5k hypothetical indexes.

For people needing to have thousands of hypothetical indexes at the same time,
we also allow to use the initial implementation that relies on real oids, which
comes with all the limitations mentioned above, with the new
hypopg.use_real_oids GUC.
2021-01-22 19:56:06 +08:00
Julien Rouhaud
d63c0634b8 Fix column name in documentation, thanks to Extortioner01 for the report. 2020-05-07 13:41:23 +02:00
Julien Rouhaud
0a6d64a8e7 [doc] Emphasize hypopg extension on \dx output 2018-03-18 00:04:27 +01:00
Julien Rouhaud
e362adb953 Document basic usage 2018-03-17 23:28:59 +01:00