From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viktor Rosenfeld Subject: Re: [babel] Verbatim output from SQL command Date: Wed, 19 Oct 2011 19:31:28 +0200 Message-ID: <20111019173128.GA27983@kenny.fritz.box> References: <80mxcymo6a.fsf@somewhere.org> <20111019162955.GB27200@client199-154.wlan.hu-berlin.de> <26980.1319042842@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGZzK-0006gZ-Go for emacs-orgmode@gnu.org; Wed, 19 Oct 2011 13:31:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGZzJ-0001es-Hm for emacs-orgmode@gnu.org; Wed, 19 Oct 2011 13:31:34 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:58560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGZzJ-0001en-6y for emacs-orgmode@gnu.org; Wed, 19 Oct 2011 13:31:33 -0400 Received: by bkbzu5 with SMTP id zu5so2834462bkb.0 for ; Wed, 19 Oct 2011 10:31:32 -0700 (PDT) Content-Disposition: inline In-Reply-To: <26980.1319042842@alphaville.dokosmarshall.org> 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: emacs-orgmode@gnu.org Cool, thanks! Nick Dokos wrote: > Viktor Rosenfeld wrote: > > > Hi, > > > > Sebastien Vauban wrote: > > > > > #+BABEL: :engine msosql :cmdline -S -U -P -d -n -w 700 > > > > Where is the :engine directive documented? > > > > The only place I know of is lisp/ob-sql.el - there is support for the following engines currently: > > > ,---- > | ... > | ('msosql (format "osql %s -s \"\t\" -i %s -o %s" > | (or cmdline "") > | (org-babel-process-file-name in-file) > | (org-babel-process-file-name out-file))) > | ('mysql (format "mysql %s < %s > %s" > | (or cmdline "") > | (org-babel-process-file-name in-file) > | (org-babel-process-file-name out-file))) > | ('postgresql (format > | "psql -A -P footer=off -F \"\t\" -f %s -o %s %s" > | (org-babel-process-file-name in-file) > | (org-babel-process-file-name out-file) > | (or cmdline ""))) > | (t (error "no support for the %s sql engine" engine))))) > | ... > `---- > > Nick > >