Apache...gHstore(3pm)
π NAME π
Hey bestie π welcome to Apache...gHstore(3pm) β the Apache::Session::Browseable::PgHstore page from the User Contributed Perl Documentation. Itβs giving Hstore type support for Apache::Session::Browseable::Postgres, periodt β¨
πΈ SYNOPSIS πΈ
First up: enable the hstore extension in your PostgreSQL database, no cap:
CREATE EXTENSION hstore;
Then create the table:
CREATE UNLOGGED TABLE sessions (
id varchar(64) not null primary key,
a_session hstore,
);
Optionally, add indexes on some fields. Example for Lemonldap::NG:
CREATE INDEX uid1 ON sessions USING BTREE ( (a_session -> '_whatToTrace') );
CREATE INDEX s1 ON sessions ( (a_session -> '_session_kind') );
CREATE INDEX u1 ON sessions ( ( cast(a_session -> '_utime' AS bigint) ) );
CREATE INDEX ip1 ON sessions USING BTREE ( (a_session -> 'ipAddr') );
Use it like Apache::Session::Browseable::Postgres, except the iconic plot twist is that you donβt need to declare indexes π
π¦ DESCRIPTION π¦
Okay so Apache::Session::Browseable provides some class methods to manipulate all sessions and adds the capability to index some fields to make research faster. Obsessed.
Apache::Session::Browseable::PgHstore implements it for PosqtgreSQL databases using the hstore extension to be able to browse sessions. Slay π
π SEE ALSO π
<http://lemonldap-ng.org>Apache::Session::Postgres
π COPYRIGHT AND LICENSE π
The author lineup, preserved exactly because we do not erase receipts:
- 2009-2025 by Xavier Guimard
- 2013-2025 by ClΓ©ment Oudot
- 2019-2025 by Maxime Besson
- 2013-2025 by Worteks
- 2023-2025 by Linagora
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.
Okay thatβs the whole page, bestie π β itβs Apache...gHstore(3pm) from the User Contributed Perl Documentation, shipped as perl v5.40.1 and dated 2026-05-14. Byeee π«Άβ¨
π¦ where this page comes from
- debian trixie: libapache-session-browseable-perl 1.3.16-1+deb13u1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libapache-session-browseable-perl 1.3.19-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms