[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] patch for ob-sql and postgresql for supporting :colnames
From: |
Joost Helberg |
Subject: |
Re: [O] patch for ob-sql and postgresql for supporting :colnames |
Date: |
Mon, 03 Feb 2014 14:11:40 +0100 |
User-agent: |
mu4e 0.9.9.6pre2; emacs 24.3.1 |
Eric,
it's not in org-plus-contrib-20140203. Was it lost somehow (also my fix
for stopping on error is not in)?
regards,
Joost
>>>>> "schulte" == schulte eric <address@hidden> writes:
> From: address@hidden
> To: address@hidden
> Cc: address@hidden
> Subject: Re: [O] patch for ob-sql and postgresql for supporting
> Date: 08-Jan-14 17:58
> Applied, thanks.
> Joost Helberg <address@hidden> writes:
>> hi,
>>
>> the :colnames header argument is not honoured for postgresql. Hence the
>> following patch for ob-sql.el. The command-line tool psql supports the
>> option -t for not displaying column-names. The default behavious is not
>> changed with this patch.
>>
>> 126,127c126
>> < "psql --set=\"ON_ERROR_STOP=1\" %s -A -P
>> footer=off -F \"\t\" -f %s -o %s %s"
>> < (if colnames-p "" "-t")
>> ---
>>> "psql --set=\"ON_ERROR_STOP=1\" -A -P footer=off -F \"\t\" -f %s -o %s %s"
>>
>> Can anyone suggest to me why this should not be in ob-sql.el? It is
>> already implemented for the mysql engine (via -N).
>>
>> regards,
>>
>> Joost
> --
> Eric Schulte
> https://cs.unm.edu/~eschulte
> PGP: 0x614CA05D
--
Snow B.V.
- Re: [O] patch for ob-sql and postgresql for supporting :colnames,
Joost Helberg <=