Lists: | pgsql-hackers-win32pgsql-patches |
---|
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
Cc: | pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: make fails if path has spaces |
Date: | 2004-08-02 11:26:42 |
Message-ID: | 200408021126.i72BQgj09502@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers-win32 pgsql-patches |
Andreas Pflug wrote:
> If configure detects some tools in the existing path, the build process
> may fail.
> In my case, there's perl under c:\program files. make will fail while in
> bin/psql because "/c/program" is not found.
I am not surprised. We do not do proper quoting of environment
variables in configure.in. I also don't know if the autoconf program
that creates the configure output does proper quoting either. Can you
tell us where it is failing by looking in config.log?
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
---|---|
To: | pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | make fails if path has spaces |
Date: | 2004-08-02 12:55:29 |
Message-ID: | 410E39C1.6090603@pse-consulting.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers-win32 pgsql-patches |
If configure detects some tools in the existing path, the build process
may fail.
In my case, there's perl under c:\program files. make will fail while in
bin/psql because "/c/program" is not found.
Regards,
Andreas
From: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: make fails if path has spaces |
Date: | 2004-08-02 17:44:31 |
Message-ID: | 410E7D7F.6030006@pse-consulting.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | Postg토토 커뮤니티SQL : Postg토토 Postg스포츠 토토 사이트SQL |
Bruce Momjian wrote:
> Andreas Pflug wrote:
>
>>If configure detects some tools in the existing path, the build process
>>may fail.
>>In my case, there's perl under c:\program files. make will fail while in
>>bin/psql because "/c/program" is not found.
>
>
> I am not surprised. We do not do proper quoting of environment
> variables in configure.in. I also don't know if the autoconf program
> that creates the configure output does proper quoting either. Can you
> tell us where it is failing by looking in config.log?
I'm no sure what you mean. AFAICS configure does detect the program
location all right, but it should either omit the full path, so the
program is located using $PATH, or executables found should be quoted.
Regards,
Andreas
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
Cc: | pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: make fails if path has spaces |
Date: | 2004-08-02 18:17:40 |
Message-ID: | 200408021817.i72IHeB13779@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers-win32 pgsql-patches |
Andreas Pflug wrote:
> Bruce Momjian wrote:
> > Andreas Pflug wrote:
> >
> >>If configure detects some tools in the existing path, the build process
> >>may fail.
> >>In my case, there's perl under c:\program files. make will fail while in
> >>bin/psql because "/c/program" is not found.
> >
> >
> > I am not surprised. We do not do proper quoting of environment
> > variables in configure.in. I also don't know if the autoconf program
> > that creates the configure output does proper quoting either. Can you
> > tell us where it is failing by looking in config.log?
>
> I'm no sure what you mean. AFAICS configure does detect the program
> location all right, but it should either omit the full path, so the
> program is located using $PATH, or executables found should be quoted.
Yes, the executable has to be quoted. Where is it being referenced
unquoted?
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: make fails if path has spaces |
Date: | 2004-08-03 10:03:56 |
Message-ID: | 410F630C.6010203@pse-consulting.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers-win32 pgsql-patches |
Bruce Momjian wrote:
>
> Yes, the executable has to be quoted. Where is it being referenced
> unquoted?
In this case, $(PERL) is referenced for building psql's doc. PERL is set
in Makefile.global unquoted, as all paths.
For others, the same problem might arise with bison or flex.
Regards,
Andrea
From: | Jamie Deppeler <jamie(at)doitonce(dot)net(dot)au> |
---|---|
To: | pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Point in Time Recovery |
Date: | 2004-08-04 04:28:27 |
Message-ID: | 411065EB.6030205@doitonce.net.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers-win32 pgsql-patches |
Has anyone tried Point in Time recovery on Win32? tried to set it up
today and keep getting this error
*Test=# Select pg_start_backup('test backup');
ERROR: function pg_start_backup("unknown") does not exist
HINT: No function matches the given name and argument types. You may
need to add explicit type casts
*
--
*Jamie Deppeler
*
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Jamie Deppeler <jamie(at)doitonce(dot)net(dot)au> |
Cc: | pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: Point in Time Recovery |
Date: | 2004-08-04 06:01:34 |
Message-ID: | 17556.1091599294@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers-win32 pgsql-patches |
Jamie Deppeler <jamie(at)doitonce(dot)net(dot)au> writes:
> Has anyone tried Point in Time recovery on Win32? tried to set it up
> today and keep getting this error
> *Test=# Select pg_start_backup('test backup');
> ERROR: function pg_start_backup("unknown") does not exist
I just committed that function late this afternoon ... how old is
the snapshot you're using?
regards, tom lane
From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: make fails if path has spaces |
Date: | 2004-08-04 13:42:02 |
Message-ID: | 4110E7AA.4010309@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers-win32 pgsql-patches |
Andreas Pflug wrote:
> Bruce Momjian wrote:
>
>>
>> Yes, the executable has to be quoted. Where is it being referenced
>> unquoted?
>
>
> In this case, $(PERL) is referenced for building psql's doc. PERL is
> set in Makefile.global unquoted, as all paths.
>
> For others, the same problem might arise with bison or flex.
>
>
Generally I think we expect all the build tools to be installed under
MSys - maybe you need to install MSysDTK?
An alternative would be to quote $(PERL) in psql's Makefile, but that
might not solve the general problem, as you observe.
cheers
andrew
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
Cc: | pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: make fails if path has spaces |
Date: | 2004-08-07 02:15:23 |
Message-ID: | 200408070215.i772FNS20052@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers-win32 pgsql-patches |
Andreas Pflug wrote:
> Bruce Momjian wrote:
>
> >
> > Yes, the executable has to be quoted. Where is it being referenced
> > unquoted?
>
> In this case, $(PERL) is referenced for building psql's doc. PERL is set
> in Makefile.global unquoted, as all paths.
>
> For others, the same problem might arise with bison or flex.
Is the problem the assignment in Makefile.global or the use of the
variable in psql/Makefile?
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: make fails if path has spaces |
Date: | 2004-08-07 09:58:44 |
Message-ID: | 4114A7D4.8060405@pse-consulting.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers-win32 pgsql-patches |
Bruce Momjian wrote:
> Andreas Pflug wrote:
>
>>Bruce Momjian wrote:
>>
>>
>>>Yes, the executable has to be quoted. Where is it being referenced
>>>unquoted?
>>
>>In this case, $(PERL) is referenced for building psql's doc. PERL is set
>>in Makefile.global unquoted, as all paths.
>>
>>For others, the same problem might arise with bison or flex.
>
>
> Is the problem the assignment in Makefile.global or the use of the
> variable in psql/Makefile?
>
It could be fixed in both places, but the more general fix would be to
qoute in Makefile.global, i.e. fixing configure.
Regards,
Andreas
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
Cc: | pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: make fails if path has spaces |
Date: | 2004-08-13 03:53:54 |
Message-ID: | 200408130353.i7D3rsC11449@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers-win32 pgsql-patches |
Andreas Pflug wrote:
> Bruce Momjian wrote:
> > Andreas Pflug wrote:
> >
> >>Bruce Momjian wrote:
> >>
> >>
> >>>Yes, the executable has to be quoted. Where is it being referenced
> >>>unquoted?
> >>
> >>In this case, $(PERL) is referenced for building psql's doc. PERL is set
> >>in Makefile.global unquoted, as all paths.
> >>
> >>For others, the same problem might arise with bison or flex.
> >
> >
> > Is the problem the assignment in Makefile.global or the use of the
> > variable in psql/Makefile?
> >
>
> It could be fixed in both places, but the more general fix would be to
> qoute in Makefile.global, i.e. fixing configure.
What if you change this:
PERL = @PERL@
to this:
PERL = "@PERL@"
Does it help?
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: make fails if path has spaces |
Date: | 2004-08-13 10:45:12 |
Message-ID: | 411C9BB8.1050308@pse-consulting.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers-win32 pgsql-patches |
Bruce Momjian wrote:
>>>
>>
>>It could be fixed in both places, but the more general fix would be to
>>qoute in Makefile.global, i.e. fixing configure.
>
>
> What if you change this:
>
> PERL = @PERL@
>
> to this:
>
> PERL = "@PERL@"
>
> Does it help?
>
Changed in src/Makefile.global.in, and it works.
There are other candidates that could have a non-msys path, which maybe
should be quoted as well.
Regards,
Andreas
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
Cc: | PostgreSQL Win32 port list <pgsql-hackers-win32(at)postgresql(dot)org>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: make fails if path has spaces |
Date: | 2004-08-15 00:41:45 |
Message-ID: | 200408150041.i7F0fmD03555@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers-win32 pgsql-patches |
OK, patch attached and applied. I am not sure if there are going to be
other place that need fixing so I added a comment.
---------------------------------------------------------------------------
Andreas Pflug wrote:
> Bruce Momjian wrote:
>
> >>>
> >>
> >>It could be fixed in both places, but the more general fix would be to
> >>qoute in Makefile.global, i.e. fixing configure.
> >
> >
> > What if you change this:
> >
> > PERL = @PERL@
> >
> > to this:
> >
> > PERL = "@PERL@"
> >
> > Does it help?
> >
>
> Changed in src/Makefile.global.in, and it works.
> There are other candidates that could have a non-msys path, which maybe
> should be quoted as well.
>
> Regards,
> Andreas
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
> joining column's datatypes do not match
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 720 bytes |