Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dN519-0000Oc-HC for pgsql-hackers@arkaria.postgresql.org; Mon, 19 Jun 2017 22:19:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dN518-0007Bh-Vm for pgsql-hackers@arkaria.postgresql.org; Mon, 19 Jun 2017 22:19:31 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dN518-00078F-11 for pgsql-hackers@postgresql.org; Mon, 19 Jun 2017 22:19:30 +0000 Received: from mail-qt0-x233.google.com ([2607:f8b0:400d:c0d::233]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dN515-0005U1-00 for pgsql-hackers@postgresql.org; Mon, 19 Jun 2017 22:19:28 +0000 Received: by mail-qt0-x233.google.com with SMTP id w1so120734361qtg.2 for ; Mon, 19 Jun 2017 15:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=IuEZFiAFCYpwkHu6/VW6q23xxywn4/SihSZrJN5m378=; b=tKiuZv6QEH8A9vALKKt3HbiClCRvfuAfTwep3cyyIwBOfaNmEVZpSQwirH4b3q8P3N FMRJB6zJAzwfneoXObowfUPU7UM2pFUWKkgkCXN7oV/0mIjMQAtRjMebbHKI95ujcgiB c2Ay2xI1NI0b81zbMUM7LtpoVLxijN+YJIWLvd7dJ3X2j8VUQp1UKZEaGbrsXOrs21Vm Cd8NNVxFxmSIjqJ31fQ88JSzGZs3AICFmoM6WgEgvaJOwN4A+mC69R4TojeE3DTXM93g X+iR428BgX57gE03Vp4yhxq4RDSbwUJ/VcpeVkSGfZc+fp5mzhO5bq/+oZ6AwBTRGrr0 BPwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=IuEZFiAFCYpwkHu6/VW6q23xxywn4/SihSZrJN5m378=; b=Xg7cp9oqNIyRBkAVl03vt5DUyM04dNUfSQQX/uc3wB1KV8FKhNwo0Db9iybUK0epPN I7iKTXlU8loiOw5kFNoTwI7xNxDyd59lnyybARgg2lV5xODcOjoVkTmOcmxL1QzEDUSr 1/KmxnFVtvSj7WCL3fUHZ4yChhXW9OsO+GOfznm5uUMn5pVM/py+jkyYlBLWDGjbN/yS pMQjyDKI8o5E+5DOnOrH2WPpBoxUPcFAzcHxK0uLe9Lwym0/wMmCDna9dr17hGhNusMK bbBy0f7MdUtJCvwh7uOleLcrOQ6N1igs3jeiBlXNNZ1fpqT+TgCpcbrKNfzhgHGZjnVd U4ag== X-Gm-Message-State: AKS2vOzZ9P3G7I3uEq+O3/0p1HrrdR09YnH9fefiFm5SuMxpirWoRDe9 +vFmIsx6mFDINs+D X-Received: by 10.200.12.140 with SMTP id n12mr31041108qti.230.1497910766028; Mon, 19 Jun 2017 15:19:26 -0700 (PDT) Received: from alvin.alvh.no-ip.org ([190.217.209.130]) by smtp.gmail.com with ESMTPSA id y19sm7110644qkb.10.2017.06.19.15.19.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Jun 2017 15:19:25 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id D615C6AC; Mon, 19 Jun 2017 18:19:16 -0400 (-04) Date: Mon, 19 Jun 2017 18:19:16 -0400 From: Alvaro Herrera To: Mark Rofail Cc: Alexander Korotkov , Robert Haas , "pgsql-hackers@postgresql.org" , David Steele , Stephen Frost Subject: Re: GSoC 2017: Foreign Key Arrays Message-ID: <20170619221916.idtty7tiihai65f7@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Mark Rofail wrote: > Okay, so major breakthrough. > > *Updates:* > > - The operator @>(anyarray, anyelement) is now functional > - The segmentation fault was due to applying PG_FREE_IF_COPY on a > datum when it should only be applied on TOASTed inputs > - The only problem now is if for example you apply the operator as > follows '{AAAAAAAAAA646'}' @> 'AAAAAAAAAA646' it maps to @>(anyarray, > anyarray) since 'AAAAAAAAAA646' is interpreted as char[] instead of Text > - Added some regression tests (src/test/regress/sql/arrays.sql) and > their results(src/test/regress/expected/arrays.out) > - wokred on the new GIN strategy, I don't think it would vary much from > GinContainsStrategy. OK, that's great. > *What I plan to do:* > > - I need to start working on the Referential Integrity code but I don't > where to start You need to study the old patch posted by Marco Nenciarini. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers