Re: ecpg in postgresql 7.4 generates: cygheap_fixup_in_child: Couldn't reserve space for cygwin's heap

2003-12-02 Thread Jason Tishler
Kurt,

On Mon, Dec 01, 2003 at 09:05:55PM +0100, Kurt Roeckx wrote:
 I recently upgraded to postgresql 7.4-1.  Now when I try to run my
 program linked with ecpg.dll I get:
 
  12 [unknown (0x2A4)] ? 456 cygheap_fixup_in_child: Couldn't
 reserve space for cygwin's heap (0x6160 0x47) in child,
 Win32 error 487
 C:\cygwin\home\kurt\tst.exe: *** m.AllocationBase 0x0,
 m.BaseAddress 0x6160, m.RegionSize 0x8, m.State 0x1

Rebasing my system fixed the above problem:

$ rebaseall
...
$ ecpg tst.pgc
$ gcc tst.c -o tst -lecpg
$ ./tst
$

Please read the rebase README:

http://www.tishler.net/jason/software/rebase/rebase-2.2.README

Does rebaseall work for you too?

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: ecpg in postgresql 7.4 generates: cygheap_fixup_in_child: Couldn't reserve space for cygwin's heap

2003-12-02 Thread Kurt Roeckx
On Tue, Dec 02, 2003 at 07:17:34AM -0500, Jason Tishler wrote:
 Kurt,
 
 On Mon, Dec 01, 2003 at 09:05:55PM +0100, Kurt Roeckx wrote:
   12 [unknown (0x2A4)] ? 456 cygheap_fixup_in_child: Couldn't
  reserve space for cygwin's heap (0x6160 0x47) in child,
  Win32 error 487
  C:\cygwin\home\kurt\tst.exe: *** m.AllocationBase 0x0,
  m.BaseAddress 0x6160, m.RegionSize 0x8, m.State 0x1
 
 Rebasing my system fixed the above problem:
[...]
 Please read the rebase README:
 
 http://www.tishler.net/jason/software/rebase/rebase-2.2.README
 
 Does rebaseall work for you too?

It worked for me too.

Thanks.


Kurt


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



ecpg in postgresql 7.4 generates: cygheap_fixup_in_child: Couldn't reserve space for cygwin's heap

2003-12-01 Thread Kurt Roeckx
I recently upgraded to postgresql 7.4-1.  Now when I try to run
my program linked with ecpg.dll I get:

 12 [unknown (0x2A4)] ? 456 cygheap_fixup_in_child: Couldn't
reserve space for cygwin's heap (0x6160 0x47) in child,
Win32 error 487
C:\cygwin\home\kurt\tst.exe: *** m.AllocationBase 0x0,
m.BaseAddress 0x6160, m.RegionSize 0x8, m.State 0x1

Simple test program tst.pgc:

int main()
{
EXEC SQL CONNECT TO test;

return 0;
}

ecpg tst.pgc
gcc tst.c -o tst -lecpg
./tst

All packages used are the most recent.


Kurt


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/