Questions tagged [postgresql]

PostgreSQL is a powerful, open source object-relational database system. It has more than 15 years of active development and a proven architecture that has earned it a strong reputation for reliability, data integrity, and correctness. It runs on all major operating systems, including Linux, UNIX (AIX, BSD, HP-UX, SGI IRIX, Mac OS X, Solaris, Tru64), and Windows.

PostgreSQL is a powerful, open source object-relational database system. It has more than 15 years of active development and a proven architecture that has earned it a strong reputation for reliability, data integrity, and correctness. It runs on all major operating systems, including Linux, UNIX (AIX, BSD, HP-UX, SGI IRIX, Mac OS X, Solaris, Tru64), and Windows. It is ACID compliant, has full support for foreign keys, joins, views, triggers, and stored procedures (in multiple languages). It includes most SQL:2008 data types, including INTEGER, NUMERIC, BOOLEAN, CHAR, VARCHAR, DATE, INTERVAL, and TIMESTAMP. It also supports storage of binary large objects, including pictures, sounds, or video. It has native programming interfaces for C/C++, Java, .Net, Perl, Python, Ruby, Tcl, ODBC, among others, and exceptional documentation.

An enterprise class database, PostgreSQL boasts sophisticated features such as Multi-Version Concurrency Control (MVCC), point in time recovery, tablespaces, asynchronous replication, nested transactions (savepoints), online/hot backups, a sophisticated query planner/optimizer, and write ahead logging for fault tolerance. It supports international character sets, multibyte character encodings, Unicode, and it is locale-aware for sorting, case-sensitivity, and formatting. It is highly scalable both in the sheer quantity of data it can manage and in the number of concurrent users it can accommodate.

PostgreSQL has won praise from its users and industry recognition, including the Linux New Media Award for Best Database System and five time winner of the The Linux Journal Editors' Choice Award for best DBMS.

Best of all, PostgreSQL's source code is available under a liberal open source license: the PostgreSQL License. This license gives you the freedom to use, modify and distribute PostgreSQL in any form you like, open or closed source. Any modifications, enhancements, or changes you make are yours to do with as you please. As such, PostgreSQL is not only a powerful database system capable of running the enterprise, it is a development platform upon which to develop in-house, web, or commercial software products that require a capable RDBMS.

1955 questions
0
votes
1 answer

How to install Postgis with Osm2pgsql on NixOS

When installing PostGIS on NixOS with an expression like services.postgresql.extraPlugins = [ (pkgs.postgis.override { postgresql = pkgs.postgresql94; }).v_2_1_4 ]; How to add other extensions like Osm2pgsql to it?
frlan
  • 573
  • 1
  • 8
  • 27
0
votes
1 answer

PHP cant connect to postgreSQL in Centos 7 Selinux

After migration to a new VPS and trying website on new server(Centos 7), Selinux somehow prevents http from accessing Postgresql: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Permission denied Is the server…
Ehphan
  • 111
  • 2
  • 8
0
votes
0 answers

Use EC2 instance as proxy to client's VPN

I have a client who has given me access to their database over a VPN. I need my web application to also connect to the same database. My current approach is: Create a new EC2 micro instance (specifically Red Hat 4.8.3-9) Connect to the micro…
colefner
  • 101
  • 1
0
votes
1 answer

Unable to connect to Postgresql on a server

On Digital Ocean I'm able to connect to Postgresql: psql -d my_db -U my_name for which it asks me a password and I get in successfully. But from my local computer I'm unable: psql -d my_db -U my_name -h x.x.x.x Nothing happens at all. Here's my…
Oskar K.
  • 167
  • 2
  • 7
0
votes
1 answer

Is it possible to do database replication on aws s3

I have 4TB database in company. As many different analytics require that full data the current database is not able to handle concurrent session from 100s of users. Is it possible to have databse replication done on s3 so that issue is solved. I…
0
votes
1 answer

Postgres doesn't shut down properly

Here is my original error: $ psql psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? and in Rails... PG::ConnectionBad: could not…
ryanmtaylor
  • 101
  • 4
0
votes
1 answer

Sharepoint postgresql data connection

We are migrating our intranet to SharePoint and our previous system used postgresql so I'm trying to make it work with SharePoint, which is not easy. I tried to add a data source on SharePoint designer and installed ODBC (psqlODBC) and OLEDB (PGNP)…
0
votes
3 answers

Verifying the reason why people say it's not a good practice to let an app connect to your db directly

I'm working with postgre (AWS RDS) for my db and using node (AWS EC2) for server side. I'm just starting out so I don't have much context. I always used other third party software like Parse for DB so I had my apps access db through Parse API. So I…
0
votes
1 answer

Error no 14 while installing PostgreSQL using yum

I am trying to install PostgreSQL on RHEL 6.3 using yum. I am getting a error while installing postgreSQL using yum. Command: yum install postgresql95-server postgresql95 Error: Loaded plugins: aliases, changelog, downloadonly,…
V_J
  • 101
  • 1
  • 4
0
votes
1 answer

Unable to connect to Postgresql via login/password from my web app

On a server I'm able to connect to Postgresql via the terminal: $ psql -U me123 -d my_db psql (9.4.7) Type "help" for help. my_db=# \q Note that it didn't ask me for the password for some reason even when I provided -p. Here's my config: $ sudo…
Oskar K.
  • 167
  • 2
  • 7
0
votes
1 answer

Execute postgres function on server from local

I've a postgres database on server. There is an upsert function which takes a file as an input. Is there any way to execute the upsert function from my local without having to scp the file to server and upsert it there? (I'm trying to automate the…
0
votes
1 answer

How to share data between web applications?

I got two web applications, one customer facing and one for internal usage. Both are using a PostgreSQL database. What are the approaches I could take to share data between these applications? Both applications would need read and write access but…
Jacob
  • 1
0
votes
0 answers

Cannot access nfs share

On my Debian 8.4 system, I would like to run a postgres database. The data should reside on an NFS mounted folder. # cat /etc/fstab xxx.xxx.xxx.xxx:/volume1/srvPostgres on /var/lib/postgresql type nfs…
Atmocreations
  • 179
  • 3
  • 10
0
votes
1 answer

PostgreSQL installation under debian

I'm trying to install PostgreSQL server on a server running debian8. I installed the package postgresql-9.5 with apt, but it seems like there are missing programs. I tried to create a cluster but initdb can not be found on the server, I tried as…
ibi0tux
  • 161
  • 1
  • 7
0
votes
1 answer

Unattended install of PostgreSQL 9.5 on Windows, modifying config files

I'd like to perform an unattended installation of PostgreSQL 9.5 on a number of Windows 7 machines, ideally by assigning an MSI via Group Policy. There seems to be no MSI file, but the EnterpriseDB EXE installer supports "--mode unattended". That…
EM0
  • 370
  • 9
  • 24