Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eT4yt-00078V-7s for pgsql-general@arkaria.postgresql.org; Sun, 24 Dec 2017 12:02:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eT4yr-0000ea-W5 for pgsql-general@arkaria.postgresql.org; Sun, 24 Dec 2017 12:02:13 +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_2) (envelope-from ) id 1eT4yr-0000eR-OQ for pgsql-general@lists.postgresql.org; Sun, 24 Dec 2017 12:02:13 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eT4yi-0004c0-M3 for pgsql-general@lists.postgresql.org; Sun, 24 Dec 2017 12:02:12 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 2E47415AC; Sun, 24 Dec 2017 13:02:03 +0100 (CET) Date: Sun, 24 Dec 2017 13:02:03 +0100 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: Array of foreign key Message-ID: <20171224120203.j64riphsibqwilnu@hjp.at> References: <5FEA34BC-1AF4-4B31-BE9B-2A6CB1D8CADC@a-kretschmer.de> <20171223170900.jzr33jx4d37yqo2j@hjp.at> <20171223192757.vfiqofgzylpuzfki@hjp.at> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kokbbxcc2mljs76f" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --kokbbxcc2mljs76f Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2017-12-23 14:40:13 -0500, Melvin Davidson wrote: > On Sat, Dec 23, 2017 at 2:27 PM, Peter J. Holzer wrote: > >If you do not understand something, please ask. >=20 > Your response is inappropriate and offensive. I apologize for my tone. I should have calmed down before replying. I do not apologize for the substance, though. I think it is entirely appropriate to point out inappropriate and offensive behaviour, and I think it is more helpful to point out the specific aspects that one finds inappropriate and offensive than just making a blanket claim. To repeat: * I think it is offensive to claim that somebody doesn't understand some basic aspect of RDBMSs unless that person has written something which is clearly false. This is a list about an RDBMS and one should assume that most of the people here (or at least the regular contributors) know at least the basics. Since you were apparently aware that you didn't understand what I was writing about, it would have been appropriate to consider that you might have misunderstood whatever you thought I had written about foreign keys. * I think it is impolite not to take the 2 seconds to check who you are replying to. I understand that in a long thread it is easy to lose track of who started it and who wrote what, but this thread wasn't that long. * I think it is inappropriate to ask some random participant in the middle of a discussion what OS and PostgreSQL version they are running, unless they have related some specific observation about their system. Even if I had not been a random participant, but the OP, I would have considered the question inappropriate, since at that point in the discussion it should have been clear that none of the topics (arrays, enums, foreign keys, ...) is dependent on the exact PostgreSQL version, much less the OS. > I specifically asked for clarification because the op stated "column > which is an array of a foreign key" but gave no details. >=20 > >Don't claim that other people "don't understand how X works" > Again, from the op's reference to using constraint's and triggers, it see= med > like the op did not fully understand the FK's would do the same. AFAICS the OP didn't mention triggers at all. Ken and I mentioned them as a way to simulate what the OP wanted. > Also, it is not necessary to state which version I PostgreSQL I use, beca= use > that is irrelevant. It is also irrelevant what version of PostgreSQL I use (or what version Ken or Andreas use). The version the OP uses might have been mildly interesting at the start of the discussion. hp --=20 _ | Peter J. Holzer | we build much bigger, better disasters now |_|_) | | because we have much more sophisticated | | | hjp@hjp.at | management tools. __/ | http://www.hjp.at/ | -- Ross Anderson --kokbbxcc2mljs76f Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAlo/lzUACgkQ8g5IURL+ KF1Asw//bNCMN3bGOn1UzT+5BC/h32+wuOMiINiF7Z9fHP16APcC9mvIlqjU87pQ GUSAg7oJ4ac9ZBE0+aFtzObak/PBo4q+/ZeAUfOYlBQIKrXejz6Ii4rHPovDvyGi 0oaWhJdStpsK/3AKth1Ux1ujeUcC3HhveJ0yRO+WJB4JsoU5RVD5Z6HqWvkMTE1r +tWapIjtneeT9Hw8V4aNaENDEpjW0U30noPviORBvYPD8xhtt6FH/YgADvDvG1gk AV0dIEzfYV+Rg+LagcgReT04tsZUUckJULLsU+KkYmciXqBPe/RS2Y9tAhDyp/ad W7Td7CwJs5mcgF0teJYQZFJRgrn3laPB576lw8WAEE+LlJi63tKI/NG3lPIZNvxa Lq9FfVEqvF9aJmRaUtmDDh5MdlFx2ULDqSniOTiVDheJnHhY2moBC9QPS0ApCgSg hIL3E187RqBCLsIOl9Efiq07m2t2EvAgmJ9CoQ+9wUIeIT10ICjc0tulsXd7gqxZ 7bDkjfVl69/jc5klA7CW1XsS5xZ/rFYvcz25p2dQyE5XH6WNV1Q6WDSuD9cH7QCC Zaxy11fhX5qyDLUS9Ndalh0wIVNoewbf0LVmJai2GizI4o+OZ4xRygFG0tHpJCGX ZZbocuXBJZUnNqW9LReUbyAhYX+Mn0Cupa+UcPZ5ZYYS2btyLpU= =y5gP -----END PGP SIGNATURE----- --kokbbxcc2mljs76f--