Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aFTD9-0000O7-Mg for pgsql-jdbc@arkaria.postgresql.org; Sat, 02 Jan 2016 20:55:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aFTD9-0000FW-3y for pgsql-jdbc@arkaria.postgresql.org; Sat, 02 Jan 2016 20:55:39 +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) (envelope-from ) id 1aFTD7-0000FN-Hs for pgsql-jdbc@postgresql.org; Sat, 02 Jan 2016 20:55:37 +0000 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aFTD3-0004WO-MA for pgsql-jdbc@postgresql.org; Sat, 02 Jan 2016 20:55:35 +0000 Received: by mail-wm0-x233.google.com with SMTP id l65so126891174wmf.1 for ; Sat, 02 Jan 2016 12:55:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=8kdata-com.20150623.gappssmtp.com; s=20150623; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=353nYwrZTHw1xamBugKF9AQ6BLTLiuBjTFgKCxSx86M=; b=eHZ9BIar8dmQ4o/3OJEQWTvL6G/xcJeu7FgINgN82vBY18YXxYe0PDiw+oqNhOOxS0 5+XroFWqs3GnaTvLKMaxsEloDSp/ZZM+aCOwlld182spSosP3r14EyLbO1cxvLy4K345 L5FaV05f41bnET1T1lC1yWvWj1tsbtEMT279RGIC/IrHQtIr98LlhlmX2T9FNS/zY1Lz aoYnAI5AHEb42sKPgkidufn8pAY2PRm42kVgBFLOOweH9iWPMd3bCTctT8Sg1SQtDEMX Cj5hFDrI4MsSMUNEN1hojTYSUdlTUqpHMC7grnLqsZWBlhAhzOmspwuX/Gsoh/gIMEcn Va2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=353nYwrZTHw1xamBugKF9AQ6BLTLiuBjTFgKCxSx86M=; b=O+QSNsOJfmQTje/LDbxLB9Xkskf9rlda0p/ddLWy5hyIccyAdAdLoZc1K8oofc5F46 Zh25t+3zNFFjk501s8+nr7S03wPchdzuKcbp0ugcqDAiDELkqkHTRAC33UOBx+LQjZrn jRAWl22ICsr3R0RQM/l15kY+oAaJFIXlfOIRKiy8OjFCR/vSuMOKObQcaQqxki9cv3qb j3TEvTB5eLFGBjZHV/qpsOasp05vNj/kRZmyDh+JwlvemYOP4781Vwb7rE8Y/Greqb5M +8/WaJ9lMdztnCPW/cTgswfWDLGO4f61KijQDgGyZEZApSXxSbBS/nfgN6KyUQEHTyoQ qrdA== X-Gm-Message-State: ALoCoQmBCCSHfNzcFbkiRdUp6wbDQ+u76+R5enzppihosz++l+IlyniFnu7nbhi4CobMzRUSDYidg+Sr85sGKgFkFRALInPMjw== X-Received: by 10.194.103.69 with SMTP id fu5mr98709024wjb.2.1451768130971; Sat, 02 Jan 2016 12:55:30 -0800 (PST) Received: from [192.168.1.129] (239.12.78.188.dynamic.jazztel.es. [188.78.12.239]) by smtp.googlemail.com with ESMTPSA id y188sm23170788wmy.11.2016.01.02.12.55.29 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 02 Jan 2016 12:55:30 -0800 (PST) Message-ID: <56883940.2090100@8Kdata.com> Date: Sat, 02 Jan 2016 21:55:28 +0100 From: =?UTF-8?B?w4FsdmFybyBIZXJuw6FuZGV6IFRvcnRvc2E=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Kevin Wooten , Vladimir Sitnikov CC: List Subject: Re: Backend protocol wanted features References: <07F56911-8A74-4CBD-915B-24F851970A67@me.com> In-Reply-To: <07F56911-8A74-4CBD-915B-24F851970A67@me.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -1.8 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org On 29/12/15 20:22, Kevin Wooten wrote: > Add “schema change notifications”. This is an interesting idea. I wonder, however, if a protocol message is the place for it. I think it belongs to logical decoding (and yes, I know there is no current support for DDL in logical decoding, but there should be). So I wouldn't add this specifically to the febe protocol. On another topic, I'd look into considering some of the ideas of the "protocol" designed by the pglogical_output plugin (http://www.postgresql.org/message-id/CAMsr+YGc6AYKjsCj0Zfz=X4Aczonq1SfQx9C=hUYUN4j2pKwHA@mail.gmail.com) for possible inclusion as first-class constructs in a new version of the protocol. Álvaro -- Álvaro Hernández Tortosa ----------- 8Kdata > > Currently “-ng” uses a bit of magic, mid query, to detect when schema changes have occurred. This is how the binary types remain correctly mapped. A notification sent whenever a type (basically anything in pg_type) is altered in any way would solve this problem perfectly. It would be best if the notification included the type oids that changed. > > The infrastructure is already there in both needed respects, notifications & it already knows internally about the changes) so this should be something that could be easily added to the current protocol. > >> On Dec 29, 2015, at 12:07 PM, Vladimir Sitnikov wrote: >> >> Hi, >> >> I've collected "wanted features" page (see [1], [2]). >> A dedicated file in pgjdbc seems fine for me. If you know better >> location, waive a hand. >> >> If you remember more, or if you want your name with "+1" to appear >> there, comment on the PR or file a PR as that one is merged in. >> >> [1]: https://github.com/pgjdbc/pgjdbc/pull/478 >> [2]: https://github.com/pgjdbc/pgjdbc/blob/protocol_wanted_features/backend_protocol_v4_wanted_features.md >> >> PS. As always, it would be nice if you proofread the file as I am >> having troubles with mastering English. >> >> Vladimir >> >> >> -- >> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) >> To make changes to your subscription: >> http://www.postgresql.org/mailpref/pgsql-jdbc -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc