]> granicus.if.org Git - icinga2/blob - lib/db_ido_pgsql/idopgsqlconnection.ti
Merge pull request #5986 from Icinga/fix/ido-schema-uq
[icinga2] / lib / db_ido_pgsql / idopgsqlconnection.ti
1 /******************************************************************************
2  * Icinga 2                                                                   *
3  * Copyright (C) 2012-2018 Icinga Development Team (https://www.icinga.com/)  *
4  *                                                                            *
5  * This program is free software; you can redistribute it and/or              *
6  * modify it under the terms of the GNU General Public License                *
7  * as published by the Free Software Foundation; either version 2             *
8  * of the License, or (at your option) any later version.                     *
9  *                                                                            *
10  * This program is distributed in the hope that it will be useful,            *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of             *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              *
13  * GNU General Public License for more details.                               *
14  *                                                                            *
15  * You should have received a copy of the GNU General Public License          *
16  * along with this program; if not, write to the Free Software Foundation     *
17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.             *
18  ******************************************************************************/
19
20 #include "db_ido/dbconnection.hpp"
21
22 library db_ido_pgsql;
23
24 namespace icinga
25 {
26
27 class IdoPgsqlConnection : DbConnection
28 {
29         [config] String host {
30                 default {{{ return "localhost"; }}}
31         };
32         [config] String port {
33                 default {{{ return "5432"; }}}
34         };
35         [config] String user {
36                 default {{{ return "icinga"; }}}
37         };
38         [config] String password {
39                 default {{{ return "icinga"; }}}
40         };
41         [config] String database {
42                 default {{{ return "icinga"; }}}
43         };
44         [config] String instance_name {
45                 default {{{ return "default"; }}}
46         };
47         [config] String instance_description;
48 };
49
50 }