Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fTfau-0002FL-PJ for pgsql-bugs@arkaria.postgresql.org; Fri, 15 Jun 2018 03:40:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fTfat-0005t0-5n for pgsql-bugs@arkaria.postgresql.org; Fri, 15 Jun 2018 03:40:11 +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.89) (envelope-from ) id 1fTfas-0005sr-M5 for pgsql-bugs@lists.postgresql.org; Fri, 15 Jun 2018 03:40:11 +0000 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fTfao-0004C9-CQ for pgsql-bugs@lists.postgresql.org; Fri, 15 Jun 2018 03:40:09 +0000 Received: by mail-qt0-x242.google.com with SMTP id y20-v6so7921105qto.8 for ; Thu, 14 Jun 2018 20:40:05 -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=aYLIEjgBoIhcSm4aOnJ3FKUccRdNjqK+Bicdl8N/t28=; b=o3FzXjajxXUcwN7MkdkN+qDbvcNb8AH63/Ge7HoWQka+5wgSUgxKQtE1q2QoclMIt5 2LMtUZswWmLsq6nBZKksU7Q6MF3/lKiwFCxQ9xl79nQbcU4n4YtLHWX2TvB7rfl83Q98 mjeddTnL2M2HG8uBjuhfR9E5rNBaf+B2CZvuHuUg13SVHjXrH12DzxV4yB1/+odPrUWX LSs/hUJXUGPcxTwEN1pl16X4rA7xynejOCENjvqRdQTGKGFRH2OqvhOo8BQGNxpFy8X9 iIb8fgVyqajhj22CWqFTF6BQXlV1X6kkaI/yLNSqdVbmeyBB62xa/2C4CQhzEpIjunHN 2D6Q== 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=aYLIEjgBoIhcSm4aOnJ3FKUccRdNjqK+Bicdl8N/t28=; b=N3oU9VssiKvKDC23SQ27h7HxWDd1CyKUsk3z9Uh++D/wABoMUdmW0sD4cEQNvGcNz/ z8yJhmPPaSQHY8tf8U0h+k0LqY3PNH2KqK1yLNyp8h5zBcclTdcoyxBbwVdERGGb1477 vW0ZF7ZXkaRNLVC/zbYEG75CMFlPiLhM4Nskk8APaP6JmF+L57TwH4gblgWyym/2J1bo ifGaW30e84Bhq4Rr/ekMvGZvM6KdS1Q38S0e/5c/Iy36vR4stM9yCvYBRz8TveYXvsKU +l5xMhV/FP3oATJxJM2i14G0zb3IVppf/o9SXR5jvKejgVZbMjAk+F/2RLKQH0+XH8x3 P62g== X-Gm-Message-State: APt69E2gJVI5JK9rN5B7sXSooaaZZkuICBd10LmbjCjDoXcdNTT0d0jY g6GkIBmmajm9Xhmufd49sTc51A== X-Google-Smtp-Source: ADUXVKL0Kc51LPTctME9Raz9Q317EhxNYLF8vGF/X+bMxf9S5ztgrja61kyoJFnRcYEttRGpqwFikQ== X-Received: by 2002:ac8:1704:: with SMTP id w4-v6mr4883242qtj.217.1529034005126; Thu, 14 Jun 2018 20:40:05 -0700 (PDT) Received: from alvin.alvh.no-ip.org ([179.56.54.12]) by smtp.gmail.com with ESMTPSA id g18-v6sm5800140qtg.59.2018.06.14.20.40.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Jun 2018 20:40:04 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 7BC8A600; Thu, 14 Jun 2018 23:40:01 -0400 (-04) Date: Thu, 14 Jun 2018 23:40:01 -0400 From: Alvaro Herrera To: Peter Eisentraut Cc: christoph.berg@credativ.de, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15238: Sequence owner not updated when owning table is foreign Message-ID: <20180615034001.lgsbilj7pqczofj7@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-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-Jun-14, Peter Eisentraut wrote: > Also, can partitioned tables have serial columns? Are there more omissions? You're right, this is wrong for partitioned tables too. create table part (a serial) partition by range (a); create table part2 partition of part for values from (1) to (1000); create user foo; alter table part owner to foo; -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services