[PATCHES] GIN vs. statistics collector

2006-08-02 Thread Andreas Seltenreich
I think there's a call to pgstat_count_index_scan missing in GIN. Currently, the idx_scan column of pg_stat_*_indexes is stuck at zero for GIN indexes. Patch attached. Thanks, andreas Index: src/backend/access/gin/ginscan.c === RCS f

Re: [PATCHES] Restartable Recovery

2006-07-16 Thread Andreas Seltenreich
Simon Riggs <[EMAIL PROTECTED]> writes: > [2. text/x-patch; restartableRecovery.patch] Hmm, wouldn't you have to reboot the resource managers at each checkpoint? I'm afraid otherwise things like postponed page splits could get lost on restart from a later checkpoint. regards, andreas --

Re: [PATCHES] TODO item -- Improve psql's handling of multi-line queries

2005-12-07 Thread Andreas Seltenreich
Sergey E. Koposov schrob: > I submit the new version of my patch (against the CVS tip), correcting the > problem with \edit (pointed by Andreas). So now everything works fine. I think there's a pgflush_history() call missing somewhere, since the buffer isn't flushed on a control-c. The fresh que

Re: [PATCHES] TODO item -- Improve psql's handling of multi-line queries

2005-12-02 Thread Andreas Seltenreich
Bruce Momjian writes: > Where are we on this patch? Was it submitted? Applied? Just an > idea? | This has been saved for the 8.2 release: | | http://momjian.postgresql.org/cgi-bin/pgpatches_hold I tested it with 8.1RC1 and noticed the inconsistency with the \edit command. I guess one w

Re: [PATCHES] TODO item -- Improve psql's handling of multi-line queries

2005-11-15 Thread Andreas Seltenreich
Sergey E. Koposov writes: > I'm proposing the small patch for the TODO item -- Improve psql's handling > of multi-line queries. With this patch the multi-line queries are saved > by readline as whole and not line by line. I like it already! > This is my first patch for Postgres but it seems to

[PATCHES] typo in psql-ref

2005-10-29 Thread Andreas Seltenreich
I haven't found anything about saveponds in the release notes, so I guess this is a typo :-) Index: doc/src/sgml/ref/psql-ref.sgml === RCS file: /projects/cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v retrieving revision 1.151 diff

Re: [PATCHES] psql: customizable readline history filename

2005-06-10 Thread Andreas Seltenreich
Bruce Momjian schrob: > I noticed your documentation example had a space before :DBNAME --- I > removed the space. This space is necessary for proper expansion of the parameter. The \set-Command concatenates all its arguments after expansion: --8<---cut here---start--

[PATCHES] psql: customizable readline history filename

2004-10-25 Thread Andreas Seltenreich
Hi, the following patch makes the filename used to store the readline history customizable through a variable named HISTFILE, analogous to psql's already implemented HISTCONTROL and HISTSIZE variables, and bash's HISTFILE-Variable. The motivation was to be able to get psql to maintain separate hi

[PATCHES] Minor psql reference fix

2004-08-14 Thread Andreas Seltenreich
Hi, I just stumbled across a strange looking sentence in the psql reference. I'm not sure if I fixed it correctly, since English isn't my native language. Patch attached. Thanks Andreas Index: psql-ref.sgml === RCS file: /projects/