{
    "content": [
        {
            "type": "text",
            "text": "# Apache::Session::Postgres (perldoc)\n\n## NAME\n\nApache::Session::Postgres - An implementation of Apache::Session\n\n## SYNOPSIS\n\nuse Apache::Session::Postgres;\n#if you want Apache::Session to open new DB handles:\ntie %hash, 'Apache::Session::Postgres', $id, {\nDataSource => 'dbi:Pg:dbname=sessions',\nUserName   => $dbuser,\nPassword   => $dbpass,\nCommit     => 1\n};\n#or, if your handles are already opened:\ntie %hash, 'Apache::Session::Postgres', $id, {\nHandle => $dbh,\nCommit => 1\n};\n\n## DESCRIPTION\n\nThis module is an implementation of Apache::Session. It uses the Postgres backing store and no\nlocking. See the example, and the documentation for Apache::Session::Store::Postgres for more\ndetails.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **USAGE**\n- **AUTHOR**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Apache::Session::Postgres",
        "section": "",
        "mode": "perldoc",
        "summary": "Apache::Session::Postgres - An implementation of Apache::Session",
        "synopsis": "use Apache::Session::Postgres;\n#if you want Apache::Session to open new DB handles:\ntie %hash, 'Apache::Session::Postgres', $id, {\nDataSource => 'dbi:Pg:dbname=sessions',\nUserName   => $dbuser,\nPassword   => $dbpass,\nCommit     => 1\n};\n#or, if your handles are already opened:\ntie %hash, 'Apache::Session::Postgres', $id, {\nHandle => $dbh,\nCommit => 1\n};",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 18,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "USAGE",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Apache::Session::Postgres - An implementation of Apache::Session\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Apache::Session::Postgres;\n\n#if you want Apache::Session to open new DB handles:\n\ntie %hash, 'Apache::Session::Postgres', $id, {\nDataSource => 'dbi:Pg:dbname=sessions',\nUserName   => $dbuser,\nPassword   => $dbpass,\nCommit     => 1\n};\n\n#or, if your handles are already opened:\n\ntie %hash, 'Apache::Session::Postgres', $id, {\nHandle => $dbh,\nCommit => 1\n};\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This module is an implementation of Apache::Session. It uses the Postgres backing store and no\nlocking. See the example, and the documentation for Apache::Session::Store::Postgres for more\ndetails.\n",
                "subsections": []
            },
            "USAGE": {
                "content": "The special Apache::Session argument for this module is Commit. You MUST provide the Commit\nargument, which instructs this module to either commit the transaction when it is finished, or\nto simply do nothing. This feature is provided so that this module will not have adverse\ninteractions with your local transaction policy, nor your local database handle caching policy.\nThe argument is mandatory in order to make you think about this problem.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "This module was written by Jeffrey William Baker <jwbaker@acm.org>.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Apache::Session::File, Apache::Session::Flex, Apache::Session::DBFile,\nApache::Session::Postgres, Apache::Session\n",
                "subsections": []
            }
        }
    }
}