Re: [HACKERS] information Windows - PostgreSQL

2003-06-18 Thread Andrew Dunstan

Not sure if this is useful - I just found it on MSDN. It talks about porting
issues, including specifically signal handling techniques (it seems to
recommend using windows messaging instead of signals for some scenarios).. I
am not sure how easy it would be to abstract this away by providing a
signalling library that contained it all.


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnucmg/html/UCMGch09.asp

cheers


andrew

Bruce wrote:
> Merlin Moncure wrote:
>> Bruce,
>>
>> I assume then that the MinGW environment is missing signal emulation
>> that is present in the Microsoft C runtime distribution?  Microsoft's
>> is copyrighted, of course in winsig.c (it is actually quite small,
>> just a couple hundred lines of code).  Are you proposing to rewrite
>> that part of the CRT?  I checked the redistribution license and
>> winsig,etc.c are most certainly not suitable for incorporation into an
>> open source project.
>
> I actuallly don't even know the answer.  I don't know what is possible
> with MinGW vs Visual C.  I need help.
>
> I would have dug into it, but I got pretty far with MinGW, then had to
> stop to catch up on email, and still not caught up enough to return to
> MinGW.
>




---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


Re: [HACKERS] information Windows - PostgreSQL

2003-06-18 Thread Bruce Momjian
Merlin Moncure wrote:
> Bruce,
> 
> I assume then that the MinGW environment is missing signal emulation
> that is present in the Microsoft C runtime distribution?  Microsoft's is
> copyrighted, of course in winsig.c (it is actually quite small, just a
> couple hundred lines of code).  Are you proposing to rewrite that part
> of the CRT?  I checked the redistribution license and winsig,etc.c are
> most certainly not suitable for incorporation into an open source
> project.

I actuallly don't even know the answer.  I don't know what is possible
with MinGW vs Visual C.  I need help.

I would have dug into it, but I got pretty far with MinGW, then had to
stop to catch up on email, and still not caught up enough to return to
MinGW.

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings


Re: [HACKERS] information Windows - PostgreSQL

2003-06-18 Thread Merlin Moncure
Bruce,

I assume then that the MinGW environment is missing signal emulation
that is present in the Microsoft C runtime distribution?  Microsoft's is
copyrighted, of course in winsig.c (it is actually quite small, just a
couple hundred lines of code).  Are you proposing to rewrite that part
of the CRT?  I checked the redistribution license and winsig,etc.c are
most certainly not suitable for incorporation into an open source
project.

Merlin


-Original Message-
From: Bruce Momjian [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 18, 2003 12:54 PM
To: Merlin Moncure
Cc: [EMAIL PROTECTED]
Subject: Re: [HACKERS] information Windows - PostgreSQL


Peer Directs relied on Visual C C++ code to handle it, and it didn't
look pretty.  I am not sure how hard it is going to be to get that
working properly.



---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


Re: [HACKERS] information Windows - PostgreSQL

2003-06-18 Thread Bruce Momjian

Peer Directs relied on Visual C C++ code to handle it, and it didn't
look pretty.  I am not sure how hard it is going to be to get that
working properly.

---

Merlin Moncure wrote:
> Outside of some quirky behavior like int/0 handling, what is wrong with
> the peerdirect's signal handler so that it has to be redone?  Win32 has
> signal handling, just not as robust and complete as *nix.
> 
> Regards,
> Merlin
> 
> -Original Message-
> From: Bruce Momjian [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, June 18, 2003 10:03 AM
> To: P.M
> Cc: PostGreSQL mailing list
> Subject: Re: [HACKERS] information Windows - PostgreSQL
> 
> 
> Not sure.  We are petty deep in the backend code allowing CreateProcess
> and then we need to add signal handling.  We don't have anything running
> yet.
> 
> 
> 
> ---
> 
> P.M wrote:
> > Hi,
> > 
> > I would like to participate to PostgreSQL under
> > Windows platform.
> > 
> > What can i do to help ?
> > 
> > x04001
> > 
> > __
> > Do you Yahoo!?
> > SBC Yahoo! DSL - Now only $29.95 per month!
> > http://sbc.yahoo.com
> > 
> > ---(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
>   [EMAIL PROTECTED]   |  (610) 359-1001
>   +  If your life is a hard drive, |  13 Roberts Road
>   +  Christ can be your backup.|  Newtown Square, Pennsylvania
> 19073
> 
> ---(end of broadcast)---
> TIP 7: don't forget to increase your free space map settings
> 

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings


Re: [HACKERS] information Windows - PostgreSQL

2003-06-18 Thread Merlin Moncure
Outside of some quirky behavior like int/0 handling, what is wrong with
the peerdirect's signal handler so that it has to be redone?  Win32 has
signal handling, just not as robust and complete as *nix.

Regards,
Merlin

-Original Message-
From: Bruce Momjian [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 18, 2003 10:03 AM
To: P.M
Cc: PostGreSQL mailing list
Subject: Re: [HACKERS] information Windows - PostgreSQL


Not sure.  We are petty deep in the backend code allowing CreateProcess
and then we need to add signal handling.  We don't have anything running
yet.



---

P.M wrote:
> Hi,
> 
> I would like to participate to PostgreSQL under
> Windows platform.
> 
> What can i do to help ?
> 
> x04001
> 
> __
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
> ---(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
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania
19073

---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings

---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


Re: [HACKERS] information Windows - PostgreSQL

2003-06-18 Thread Bruce Momjian

Not sure.  We are petty deep in the backend code allowing CreateProcess
and then we need to add signal handling.  We don't have anything running
yet.


---

P.M wrote:
> Hi,
> 
> I would like to participate to PostgreSQL under
> Windows platform.
> 
> What can i do to help ?
> 
> x04001
> 
> __
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
> ---(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
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings


[HACKERS] information Windows - PostgreSQL

2003-06-17 Thread P.M
Hi,

I would like to participate to PostgreSQL under
Windows platform.

What can i do to help ?

x04001

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---(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