Re: [HACKERS] psql missing feature

2001-03-12 Thread Michal Maru¹ka
Peter Eisentraut writes: > Michal Maru¹ka writes: > > What about (optionally) printing the type of the column data? > >io | tu | tipo |data > >int | int | int2 |date > > +---+--+ > > 102242 | 26404 | 1203

Re: [HACKERS] psql missing feature

2001-03-07 Thread Michal Maru¹ka
Peter Eisentraut writes: > Michal Maru¹ka writes: > > > What about (optionally) printing the type of the column data? > > >io | tu | tipo |data > >int | int | int2 |date > > +---+--+ > > 102

[HACKERS] output from EXPLAIN VERBOSE

2001-03-06 Thread Michal Maru¹ka
I am writing an Emacs based navigation/editing tool. I would like to have the backend parse a query, EXPLAIN VERBOSE it I want to know for every non functional column the source (table/attribute). How to interpret the parse tree? ---(end of broadcast)---

[HACKERS] psql missing feature

2001-03-06 Thread Michal Maru¹ka
What about (optionally) printing the type of the column data? i.e: io | tu | tipo |data int | int | int2 |date +---+--+ 102242 | 26404 | 1203 | 2000-11-22 (1 row) ---(end of broadcast)--

[HACKERS] psql: why not pset PROMPT[0-2] ?

2001-02-06 Thread Michal Maru¹ka
(In psql:) I need to modify the 2nd prompt. So i looked at the sources: I leave the validity test (of the name of the option/param) to SetVariable !! Here is the patch: diff -c /internet/cvs/pgsql/src/bin/psql/command.c.~1~ /internet/cvs/pgsql/src/bin/psql/command.c *** /internet/cvs/pgsql/s

[HACKERS] src/bin/psql/tab-complete.c ported to emacs lisp

2001-02-05 Thread Michal Maru¹ka
I have started trying to make the emacs' psql experience more comfortable. I transformed (with sed(1) & manually) the C-source to elisp program. Now I want to improve it. My question: What is the licence of this file. Can I distribute is under GPL? the file is at: http://maruska.dyn