Re: [PATCHES] psql italian translation

2003-10-06 Thread Gaetano Mendola
Peter Eisentraut wrote: Fabrizio Mazzoni writes: I just translated the psql.pot file into Italian language and tested it in 7.4beta3. Installed. But please check out psql --help and \? within psql and line up the strings correctly. I don't know if there is some problem but some messages are

Re: [PATCHES] psql italian translation

2003-10-06 Thread Peter Eisentraut
Fabrizio Mazzoni writes: > I just translated the psql.pot file into Italian language and tested it in 7.4beta3. Installed. But please check out psql --help and \? within psql and line up the strings correctly. > I don't know if there is some problem but some messages are not > translated in psq

Re: [PATCHES] fix log_min_duration_statement logic error

2003-10-06 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > Are those lines sent to the elog as one write() or separate ones --- do > > they always appear together in the log? > > Currently they are sent in a single fprintf(stderr), which might or > might not be good enough to ensure atomicity

[PATCHES] psql italian translation

2003-10-06 Thread Fabrizio Mazzoni
Resending because i did not attahc the file .. !! Sorry for the mistake... Hello, I just translated the psql.pot file into Italian language and tested it in 7.4beta3. It seems to work just fine. The "it" language is not in the nls.mk so it must be added. I don't know if there is some problem b

[PATCHES] Bug in pg_restore memory handling

2003-10-06 Thread Bruce Momjian
I found a bug in the pg_restore code. It shows up only using the tar format, and only on Windows XP (not Win2000 or BSD/OS). However, the bug exists on all platforms that don't return zero'ed memory from malloc, which is basically everyone. We have gotten away with this because malloc memory is

Re: [PATCHES] brazilian portuguese translations

2003-10-06 Thread Peter Eisentraut
Euler Taveira de Oliveira writes: > The file contains updated translations for libpq, pg_dump, pg_controldata and > pg_resetxlog and new ones pgscripts and psql. Installed. > I put the files in my machine because I don't know if the list accept attachs of > 41kb. It does, but web is fine, too

Re: [PATCHES] fix log_min_duration_statement logic error

2003-10-06 Thread Bruce Momjian
Tom Lane wrote: > Alvaro Herrera Munoz <[EMAIL PROTECTED]> writes: > >> Bruce Momjian <[EMAIL PROTECTED]> writes: > >> I had a new idea on output format. Instead of converting newline to > >> "\n", and double-escaping backslashes, we add a tab after any newline, > > > Not good. Some syslogs will

[PATCHES] brazilian portuguese translations

2003-10-06 Thread Euler Taveira de Oliveira
Peter, The file contains updated translations for libpq, pg_dump, pg_controldata and pg_resetxlog and new ones pgscripts and psql. I put the files in my machine because I don't know if the list accept attachs of 41kb. Please apply. [EMAIL PRO

Re: [PATCHES] fix log_min_duration_statement logic error

2003-10-06 Thread Tom Lane
Alvaro Herrera Munoz <[EMAIL PROTECTED]> writes: >> Bruce Momjian <[EMAIL PROTECTED]> writes: >> I had a new idea on output format. Instead of converting newline to >> "\n", and double-escaping backslashes, we add a tab after any newline, > Not good. Some syslogs will replace the literal tab wit

Re: [PATCHES] fix log_min_duration_statement logic error

2003-10-06 Thread Alvaro Herrera Munoz
On Mon, Oct 06, 2003 at 10:42:57AM -0400, Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > I had a new idea on output format. Instead of converting newline to > > "\n", and double-escaping backslashes, we add a tab after any newline, > > That's a thought... seems less invasive tha

Re: [PATCHES] fix log_min_duration_statement logic error

2003-10-06 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > Are those lines sent to the elog as one write() or separate ones --- do > they always appear together in the log? Currently they are sent in a single fprintf(stderr), which might or might not be good enough to ensure atomicity. We could hack this to a d

Re: [PATCHES] fix log_min_duration_statement logic error

2003-10-06 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > Agreed. elog is the proper place, because then you guarantee that it is > > all on one line. Is that OK? Do we have elogs that we want over > > several lines? Is this something we can do at this stage in beta? > > As to the latter