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

-- 
Snow B.V.        http://snow.nl


Reply via email to