Should we be using psql -x

6 views
Skip to first unread message

Jonathan Leto

unread,
Mar 14, 2010, 1:12:32 AM3/14/10
to plpa...@googlegroups.com
Howdy,

After reading

http://petereisentraut.blogspot.com/2010/03/running-sql-scripts-with-psql.html

I wondered, should we be using psql -x to run the tests?

Duke

--
Jonathan "Duke" Leto
jona...@leto.net
http://leto.net

Selena Deckelmann

unread,
Mar 14, 2010, 1:17:43 AM3/14/10
to plpa...@googlegroups.com
On Sat, Mar 13, 2010 at 10:12 PM, Jonathan Leto <jal...@gmail.com> wrote:

> http://petereisentraut.blogspot.com/2010/03/running-sql-scripts-with-psql.html
>
> I wondered, should we be using psql -x to run the tests?

Yes. :)

But use -X

A common set of options is: -AX -qt ('axe cutie')

That gets you tuples only, unaligned output, no .psqlrc, no messages.

-selena


--
http://chesnok.com/daily - me
http://endpoint.com - work

Jonathan Leto

unread,
Mar 14, 2010, 7:28:13 PM3/14/10
to plpa...@googlegroups.com
Howdy,

Thanks Selena!

I decided that -AX is good for now. I gave you props :)

http://github.com/leto/plparrot/commit/708d0a225a712f49dbca4891daab94fb68504893

Duke

--

Reply all
Reply to author
Forward
0 new messages