Hi Allan,
TABLEOPTIONS="-P border=5 -P tableattr=width=\"80%\" -P
tableattr=bgcolor=\"#FFFFFF\""
produces
...
<table border="5" bgcolor="#FFFFFF">
...
Seems to hang on to the last.
Yes- you've said -P tableattr twice so the second one overrides the first one.
$ psql -H -P tableattr='width="80%" bgcolor="#FFFFFF"'
works for me. Carefully study my nice simple quoting: single quotes ''
around the whole
tableattr='THING' shebang and non-escaped double quotes "" for width
and bgcolor values.
Cheers,
Stuart.
---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
http://archives.postgresql.org/