From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sPYgHzNh1V/QYAAA0tVLHw (envelope-from ) for ; Sun, 13 Dec 2020 00:32:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id ABHtGjNh1V9UYgAA1q6Kng (envelope-from ) for ; Sun, 13 Dec 2020 00:32:51 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CB8629404FC for ; Sun, 13 Dec 2020 00:32:50 +0000 (UTC) Received: from localhost ([::1]:33764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koFJg-00023B-1L for larch@yhetil.org; Sat, 12 Dec 2020 19:32:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koFJ6-000232-HG for emacs-orgmode@gnu.org; Sat, 12 Dec 2020 19:32:12 -0500 Received: from mail-il1-x133.google.com ([2607:f8b0:4864:20::133]:39783) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koFJ4-00022L-R1; Sat, 12 Dec 2020 19:32:12 -0500 Received: by mail-il1-x133.google.com with SMTP id q1so12437339ilt.6; Sat, 12 Dec 2020 16:32:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Qz5QIOE31KUJfStpH5W9M6ORAldV9BedAgu2T8N+kGY=; b=nQdvoUts2kiyEbAEaEkLj+iTk5M1GWlT3/uuqBK5450CifxkO5pHUY3/bFxAu318A5 cEuN+HfriwDDjBAqB+wIVQAhW39114DSaImiLEQrraiU6mq+etfW35kuhTLgYVGSTkh3 FD7pMVxUT1lasC3yhw6g1/7hxk9OgyNCdb/i+IWOyFgw062Hca02FMi6SNh8/0YBXd2J 3s5zbSKZ+ikBZPQmQLtUt5s80zuS7/HNaQovzXo5zpfpfxaWud5iBWWuwNtPv0hNRITX RfMffL9wxTU1z2UFHljwYPZWSgG7tx14mXUXSSthggi0RdogSDlQeQMtGq5zRJMFeGLb rjxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Qz5QIOE31KUJfStpH5W9M6ORAldV9BedAgu2T8N+kGY=; b=av7sfPvtBB4fyvDE417bmLKZQ2WmXEgKYICJmif2j6MM1z5DVHtkLPUlvPuhdpwuIK zSLCLOKJYr5GbSq3FaoZJnbSA3nus+6/m6hlpLYpXNxmA/7L2xDNYnko9WHpoNGdOxF2 Bp/+BTOyVYHGpFjc1Kkhcdm/WhRdCioO2dN/LM8X/CSLUsv2z+lk+SrGQEyNQMIg3FPL ykfJyvFDZNzEklkRfvolc+j45BE3FMcpSyTiLOc59XEoLTKfGdz1Fwk8j5MR2JNm3D59 EVCfRNsbJvbpy8fIGcQ5ACIdVi8KW7dgHcFxWv4TdtQvCRK/jR9fTw1jnPrypwLPA7zx enEw== X-Gm-Message-State: AOAM533fAqoIh+o+TqhfFetRtMDQ38cHQVehmgYJVnTnu1iIc4wFy9c3 HiXqEgsCjE4bBVCpaAitBUAS1FvLiYhQquQ1vg== X-Google-Smtp-Source: ABdhPJzw3sKPVMvtoWxNsuw2XVxW78JiMdhdESxkb8yyjOJkn53jpLR66pKfSCblgtPTYGSIzm7Sa0VwiDB9/uiTVqA= X-Received: by 2002:a92:730d:: with SMTP id o13mr24264366ilc.95.1607819529298; Sat, 12 Dec 2020 16:32:09 -0800 (PST) MIME-Version: 1.0 References: <87lfe2aosn.fsf@gnu.org> <877dpm7e3d.fsf@localhost> In-Reply-To: <877dpm7e3d.fsf@localhost> From: Alan Light Date: Sat, 12 Dec 2020 19:31:59 -0500 Message-ID: Subject: Re: Bug fix attached: org-babel sql postgres, fix hardcode To: Ihor Radchenko Content-Type: multipart/mixed; boundary="000000000000e89e2905b64da74e" Received-SPF: pass client-ip=2607:f8b0:4864:20::133; envelope-from=lightalan@gmail.com; helo=mail-il1-x133.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bastien , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.20 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=gmail.com header.s=20161025 header.b=nQdvoUts; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: CB8629404FC X-Spam-Score: -1.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: av9k/1Igo22a --000000000000e89e2905b64da74e Content-Type: multipart/alternative; boundary="000000000000e89e2605b64da74c" --000000000000e89e2605b64da74c Content-Type: text/plain; charset="UTF-8" New patch file attached. On Sat, Dec 12, 2020 at 7:14 PM Ihor Radchenko wrote: > Alan Light writes: > > > Sorry, I don't understand. That's what I did. The patch was attached to > my > > email. > > You need to add patch description, not just title. Something like: > > * ob-sql.el (org-babel-execute:sql): Use `sql-postgres-program' as > postgresql executable (instead of psql) when defined. > > Best, > Ihor > --000000000000e89e2605b64da74c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
New patch file attached.


On Sat, Dec 12, 202= 0 at 7:14 PM Ihor Radchenko <yanta= r92@gmail.com> wrote:
Alan Light <lightalan@gmail.com> writes:

> Sorry, I don't understand. That's what I did. The patch was at= tached to my
> email.

You need to add patch description, not just title. Something like:

* ob-sql.el (org-babel-execute:sql): Use `sql-postgres-program' as
=C2=A0 postgresql executable (instead of psql) when defined.

Best,
Ihor
--000000000000e89e2605b64da74c-- --000000000000e89e2905b64da74e Content-Type: application/octet-stream; name="0002-ob-sql.el-ob-sql.el-org-babel-execute-sql-Use-sql-po.patch" Content-Disposition: attachment; filename="0002-ob-sql.el-ob-sql.el-org-babel-execute-sql-Use-sql-po.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kime86oz0 RnJvbSA2MjMyOTQyNDU3N2Q5YmFhNDBjY2EzYzk4OTUxYzRiNjVhMDk1MDAyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBBbGFuIExpZ2h0IDxsaWdodGFsYW5AZ21haWwuY29tPgpEYXRl OiBTYXQsIDEyIERlYyAyMDIwIDE5OjI2OjQwIC0wNTAwClN1YmplY3Q6IFtQQVRDSCAyLzJdIG9i LXNxbC5lbDogb2Itc3FsLmVsIChvcmctYmFiZWwtZXhlY3V0ZTpzcWwpOiBVc2UKIGBzcWwtcG9z dGdyZXMtcHJvZ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