PostgresServer

sinopsis

PostgresServer es un propósito general y sistema de gestión de bases de datos objeto-relacional. Se utiliza para instalar la base de datos. PostgresServer diseñado para ejecutarse en plataformas Linux similares. Sin embargo, PostgresServer es portátil para que pueda ejecutarse en diferentes plataformas como Mac OS X, Solaris y Windows.

Se le permite añadir funciones personalizadas desarrolladas con diferentes lenguajes de programación como C / C ++, Java, etc.

Ayuda Comando

Este comando ayuda a determinar el uso del módulo PostgresServer. Usuario vendrá saber sobre las diferentes formas / formato para ejecutar este módulo. Este comando le guiará al usuario final para saber cuándo y cómo el comando que desea utilizar. A continuación dado son el mando y la pantalla del mismo.

ptconfigure PostgresServer help
kevell@corp:/# ptconfigure PostgresServer  help
******************************


This command allows you to install the Postgres Server. Currently only
Postgres Workbench, the Database management GUI provided by Oracle for
Postgres.

PostgresServer, postgres-server, postgresserver

- install
Install some Postgres Server Tools through apt-get.
example: ptconfigure postgres-server install

Notes, during postgres install a root password will be set. First, it'll look
for the parameter --postgres-root-pass, if this is not set, it'll look in the
ptconfigure config for a postgres-default-root-pass setting, and failing both of
those it will just set the password for root to ptconfigure.

------------------------------
End Help
******************************

instalación

Cuando el usuario necesita para instalar el módulo en la máquina. El siguiente comando dado se ejecutará el proceso de instalación.

ptconfigure PostgresServer install

Después de introducir el comando anterior, el proceso de ejecución implica como se describe en el formato tabular,

Parámetros Parámetro Alternativa Opciones Comentarios
Install Postgres Server? (Y/N) PostgresServer, postgresserver, postgres-server. El usuario puede utilizar uno cualquiera de los anteriores. Y(Yes) Si el usuario desea continuar el proceso de instalación se puede introducir como Y.
Install Postgres Server? (Y/N) PostgresServer, postgresserver, postgres-server. El usuario puede utilizar uno cualquiera de los anteriores.| N(No) Si el usuario desea abandonar el proceso de instalación se puede introducir como N.

Si la instalación procede de usuario, durante el proceso de instalación de los siguientes pasos están involucrados,

  • Construye el árbol de dependencias.
  • Lee la información de estado.
  • Lista outs los paquetes adicionales que se instalan automáticamente.
  • Lista outs los paquetes sugeridos que está instalando.
  • Lista outs los nuevos paquetes que está instalando.
  • Detalles sobre el número de archivos actualizados, recién instalados, retirados y no actualizados.

La siguiente captura de pantalla representa gráficamente el proceso anteriormente descrito de la instalación.

kevell@corp:/# ptconfigure PostgresServer install
Install Postgres Server? (Y/N)
Y
*******************************
*        Pharaoh Tools        *
*         Postgres Server!        *
*******************************                                                                                                                                        Adding user postgres to group ssl-cert

Creating config file /etc/logrotate.d/postgresql-common with new version
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
 en_us
Removing obsolete dictionary files:
* No PostgreSQL clusters exist; see "man pg_createcluster"
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
 libpq5 postgresql-9.3 postgresql-client-9.3 postgresql-client-common
 postgresql-common
Suggested packages:
 oidentd ident-server locales-all postgresql-doc-9.3
The following NEW packages will be installed:
 libpq5 postgresql postgresql-9.3 postgresql-client-9.3
 postgresql-client-common postgresql-common
0 upgraded, 6 newly installed, 0 to remove and 301 not upgraded.
Need to get 3,666 kB of archives.
After this operation, 15.4 MB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main libpq5 amd64 9.3.5-0ubuntu0.14.04.1 [80.6 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu/ trusty/main postgresql-client-common all 154 [25.4 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main postgresql-client-9.3 amd64 9.3.5-0ubuntu0.14.04.1 [782 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu/ trusty/main postgresql-common all 154 [103 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main postgresql-9.3 amd64 9.3.5-0ubuntu0.14.04.1 [2,670 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu/ trusty/main postgresql all 9.3+154 [5,088 B]
Preconfiguring packages ...
Fetched 3,666 kB in 8min 13s (7,435 B/s)
Selecting previously unselected package libpq5.
(Reading database ... 181615 files and directories currently installed.)
Preparing to unpack .../libpq5_9.3.5-0ubuntu0.14.04.1_amd64.deb ...
Unpacking libpq5 (9.3.5-0ubuntu0.14.04.1) ...
Selecting previously unselected package postgresql-client-common.
Preparing to unpack .../postgresql-client-common_154_all.deb ...
Unpacking postgresql-client-common (154) ...
Selecting previously unselected package postgresql-client-9.3.
Preparing to unpack .../postgresql-client-9.3_9.3.5-0ubuntu0.14.04.1_amd64.deb ...
Unpacking postgresql-client-9.3 (9.3.5-0ubuntu0.14.04.1) ...
Selecting previously unselected package postgresql-common.
Preparing to unpack .../postgresql-common_154_all.deb ...
Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common'
Unpacking postgresql-common (154) ...
Selecting previously unselected package postgresql-9.3.
Preparing to unpack .../postgresql-9.3_9.3.5-0ubuntu0.14.04.1_amd64.deb ...
Unpacking postgresql-9.3 (9.3.5-0ubuntu0.14.04.1) ...
Selecting previously unselected package postgresql.
Preparing to unpack .../postgresql_9.3+154_all.deb ...
Unpacking postgresql (9.3+154) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Setting up libpq5 (9.3.5-0ubuntu0.14.04.1) ...
Setting up postgresql-client-common (154) ...
Setting up postgresql-client-9.3 (9.3.5-0ubuntu0.14.04.1) ...
update-alternatives: using /usr/share/postgresql/9.3/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
Setting up postgresql-common (154) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up postgresql-9.3 (9.3.5-0ubuntu0.14.04.1) ...
Creating new cluster 9.3/main ...
 config /etc/postgresql/9.3/main
 data   /var/lib/postgresql/9.3/main
 locale en_IN
 port   5432
update-alternatives: using /usr/share/postgresql/9.3/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
* Starting PostgreSQL 9.3 database server
  ...done.
Setting up postgresql (9.3+154) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
[Pharaoh Logging] Adding Package postgresql from the Packager Apt executed correctly
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/p/postgresql-common/postgresql-contrib_9.3+154_all.deb  Connection failed [IP: 91.189.88.149 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
 libossp-uuid16 postgresql-contrib-9.3
Suggested packages:
 uuid libdbd-pg-perl
The following NEW packages will be installed:
 libossp-uuid16 postgresql-contrib postgresql-contrib-9.3
0 upgraded, 3 newly installed, 0 to remove and 301 not upgraded.
Need to get 435 kB of archives.
After this operation, 2,038 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu/ trusty/main libossp-uuid16 amd64 1.6.2-1.3ubuntu1 [29.6 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main postgresql-contrib-9.3 amd64 9.3.5-0ubuntu0.14.04.1 [400 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu/ trusty/main postgresql-contrib all 9.3+154 [5,106 B]
Err http://in.archive.ubuntu.com/ubuntu/ trusty/main postgresql-contrib all 9.3+154
 Connection failed [IP: 91.189.88.149 80]
Fetched 430 kB in 6min 25s (1,114 B/s)
[Pharaoh Logging] Adding Package postgresql-contrib from the Packager Apt did not execute correctly
... All done!
*******************************
Thanks for installing , visit www.pharaohtools.com for more
******************************


Single App Installer:
--------------------------------------------
PostgresServer: Success
------------------------------
Installer Finished
******************************

Beneficios

  • Tipos definidos por el usuario
  • La herencia de tablas
  • Mecanismo de bloqueo Sofisticado
  • Vistas, reglas, sub-select
  • Transacciones anidadas (guardar puntos)
  • La recuperación a tiempo Point
comments powered by Disqus