Re: [PATCHES] pg_restore -F bug

2005-04-29 Thread Tom Lane
Neil Conway <[EMAIL PROTECTED]> writes: > This patch fixes a bug in the error message emitted by pg_restore on an > incorrect -F argument: write_msg() expects its first parameter to be a > "module name", not the format string. Patch applied to HEAD. Is this > worth backporting? Certainly --- pa

Re: [PATCHES] [INTERFACES] bcc32 libpq compile problem

2005-04-29 Thread Bruce Momjian
[EMAIL PROTECTED] wrote: > All OK with libpq, what can i do to work under windows with ecpg ? Uh, we don't have any ecpg makefiles for MSC or BCC. I am afraid you will have to take the psql or libpq bcc32.mak and try to hack it around to work, but it isn't going to be simple. -- Bruce Momjian

Re: [PATCHES] [INTERFACES] bcc32 libpq compile problem

2005-04-29 Thread Bruce Momjian
[EMAIL PROTECTED] wrote: > There where an extra character in the .mak file, and then i try to rebuild > and now i obtain these errors ... > > at the and a file called blibpq.lib was built but it don't seem valid. > Here is a fix I forgot to send you that will allow libpq to compile. This patch

Re: [PATCHES] pg_restore -F bug

2005-04-29 Thread Bruce Momjian
Neil Conway wrote: > This patch fixes a bug in the error message emitted by pg_restore on an > incorrect -F argument: write_msg() expects its first parameter to be a > "module name", not the format string. Patch applied to HEAD. Is this > worth backporting? > > BTW, is there a reason that pg_re

Re: [PATCHES] [INTERFACES] bcc32 libpq compile problem

2005-04-29 Thread [EMAIL PROTECTED]
All OK with libpq, what can i do to work under windows with ecpg ? Thanks a lot Fabio > Fabio Guidi wrote: > > the compiler build correctly the package without error message ? > > > > Bruce Momjian ha scritto: > > > > >I downloaded the Borland compiler and am running build tests now. > > I final

Re: [PATCHES] [INTERFACES] bcc32 libpq compile problem

2005-04-29 Thread [EMAIL PROTECTED]
There where an extra character in the .mak file, and then i try to rebuild and now i obtain these errors ... at the and a file called blibpq.lib was built but it don't seem valid. > Fabio Guidi wrote: > > the compiler build correctly the package without error message ? > > > > Bruce Momjian ha

[PATCHES] format string cleanup

2005-04-29 Thread Neil Conway
GCC 4.0 includes a new warning option, -Wformat-literal, that emits a warning when a variable is used as a format string for printf() and similar functions (if the variable is derived from untrusted data, it could include unexpected formatting sequences). This emits too many warnings to be enab

Re: [PATCHES] [INTERFACES] bcc32 libpq compile problem

2005-04-29 Thread [EMAIL PROTECTED]
I try to use your make file, but i obtain an error at the end of build ... this time the directory has created and several objs are present in it... i attach the screenshot that appear... thanks a lot again fabio > Fabio Guidi wrote: > > the compiler build correctly the package without error me

Re: [PATCHES] [INTERFACES] bcc32 libpq compile problem

2005-04-29 Thread [EMAIL PROTECTED]
thanks a lot ... now i go to try ... fabio > Fabio Guidi wrote: > > the compiler build correctly the package without error message ? > > > > Bruce Momjian ha scritto: > > > > >I downloaded the Borland compiler and am running build tests now. > > I finally got it working. I had to make major chan

[PATCHES] pg_restore -F bug

2005-04-29 Thread Neil Conway
This patch fixes a bug in the error message emitted by pg_restore on an incorrect -F argument: write_msg() expects its first parameter to be a "module name", not the format string. Patch applied to HEAD. Is this worth backporting? BTW, is there a reason that pg_restore seems to accept 'f', 't',