Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyljH-0006wg-79 for pgsql-bugs@arkaria.postgresql.org; Tue, 17 Nov 2015 19:15:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZyljG-0003CB-Pp for pgsql-bugs@arkaria.postgresql.org; Tue, 17 Nov 2015 19:15:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zylid-0001Um-0f for pgsql-bugs@postgresql.org; Tue, 17 Nov 2015 19:15:07 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Zylia-0006hD-M5 for pgsql-bugs@postgresql.org; Tue, 17 Nov 2015 19:15:06 +0000 MIME-Version: 1.0 Subject: BUG #13777: FKs began to no longer treat referential integrity, ie, it was as if the FKs did not exist. To: pgsql-bugs@postgresql.org From: alvaro.pereira.neto@gmail.com Date: Tue, 17 Nov 2015 19:14:26 +0000 Message-ID: <20151117191426.12380.835@wrigleys.postgresql.org> X-Pg-Spam-Score: -0.3 (/) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 13777 Logged by: Alvaro Neto Email address: alvaro.pereira.neto@gmail.com PostgreSQL version: 9.3.6 Operating system: RedHat 6.5 x86 Description: We are experiencing a "bug" that we had not noticed, the releases 9.3.3 and 9.3.6. 1) a migration via dump / restore, version 9.0.7 to version 9.3.6 was carried out, and after seven months in one of the tables, which had 8 FKs, these FKs began to no longer treat referential integrity, ie, it was as if the FKs did not exist; 2) the development platform, release 9.3.3, a database was created (dbadmin-new) using, as a template, another existing database (dbadmin). And then charges through inserts have not been validated by FKs. It was found that all FKs exist. However, FKs not restricted any inclusion of information without integrity. Instructions for creating the database was: CREATE DATABASE 'dbadmin-new' WITH TEMPLATE 'dbadmin' OWNER 'postgres' TABLESPACE = 'homolog'; Our PostgreSQL been compiled in accordance with the parameter set of the following: * For 9.3.6 - production platform ==> CONFIGURE = '--prefix = / usr / local / pgsql-9.3.6' --with-perl '' --with-python '' --with- tcl '' --with-tclconfig = / usr / lib64 '' --with-krb5 '' --with-openssl '' --with-pam '' --with-ldap '' --with-libxml '' --with-libxslt ' * For 9.3.3 - plataform development ==> CONFIGURE = '--prefix' '/usr/local/pgsql-9.3.3' '--with-perl' '--with-python' '--with -tcl '' --with-tclconfig = / usr / lib64 '' --with-krb5 '' --with-openssl '' --with-pam '' --with-ldap '' --with-libxml '--with-libxslt' Our production platform is grounded in PostgreSQL cluster with a total of 5 nodes, with streaming replication, and I am the one who created and manages all of these platforms. You could refer, please, this e-mail to the development team to see if anyone else has experienced this situation? Sought I and an architect, references in this 'bug' but did not find anything or the forums, and even the Internet in general. Thanks. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs