From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Vorobiev Subject: Re: org mode R remote code evaluation Date: Thu, 26 Sep 2013 12:28:19 -0500 Message-ID: References: <87d2ownbtv.fsf@hornfels.zedat.fu-berlin.de> <87r4ce2x8k.fsf@gmx.de> <87mwn22vy8.fsf@gmx.de> <878uymyser.fsf@gmx.de> <87y56li3je.fsf@gmx.de> <87mwn0u5sh.fsf@gmail.com> <87wqm4yb8w.fsf@gmx.de> <87k3i4knns.fsf@gmx.de> <87mwmzy16d.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b33d95657a3dd04e74cb3be Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPFMr-0000vn-It for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 13:28:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPFMm-0001eu-S8 for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 13:28:45 -0400 Received: from mail-pd0-x230.google.com ([2607:f8b0:400e:c02::230]:41958) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPFMm-0001ep-Jx for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 13:28:40 -0400 Received: by mail-pd0-f176.google.com with SMTP id q10so1445920pdj.35 for ; Thu, 26 Sep 2013 10:28:39 -0700 (PDT) In-Reply-To: <87mwmzy16d.fsf@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Albinus , emacs-orgmode , Johannes Rainer , Loris Bennett --047d7b33d95657a3dd04e74cb3be Content-Type: text/plain; charset=ISO-8859-1 #+BEGIN_SRC sql :engine postgresql :dir /grid: :results output :colnames yes select 2+2 as four, 1+1 as one; #+END_SRC #+RESULTS: | 4\t2 | It works! As you see there are still some problems with ob-sql (no column names and \t is not parsed correctly) but the remote execution seems to be fixed. Thanks, Alex On Thu, Sep 26, 2013 at 11:53 AM, Michael Albinus wrote: > Alexander Vorobiev writes: > > > Hi Michael, > > Hi Alex, > > > I can't apply the patch for some reason. > > Strange. > > > Could you send it and/or new ob-core.el as a attachment? > > It's appended. > > > Thanks, > > Alex > > Best regards, Michael. > > --047d7b33d95657a3dd04e74cb3be Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
#+BEGIN_SRC sql :engine postgresql :dir /grid: :resul= ts output :colnames yes
=A0 select 2+2 as four, 1+1 as one;
=
#+END_SRC

#+RESULTS:
| 4\t2 |
=

It works! As you see there are still some problems with ob-s= ql (no column names and \t is not parsed correctly) but the remote executio= n seems to be fixed.

Thanks,
Alex
--047d7b33d95657a3dd04e74cb3be--