pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feed1)Can't compile with ODBC support. 2)FATAL 1: AllocSetAlloc() on Pentium computer.
5+ messages / 5 participants
[nested] [flat]
* 1)Can't compile with ODBC support. 2)FATAL 1: AllocSetAlloc() on Pentium computer.
@ 2000-12-05 11:11 Igor N. Avtaev <ain@usi.ru>
0 siblings, 1 reply; 5+ messages in thread
From: Igor N. Avtaev @ 2000-12-05 11:11 UTC (permalink / raw)
To: pgsql-admin; pgsql-ports@postgresql.org
Hello all! Help me, please.
---------------------------------------------------------------
*** First trouble:
I execute:
$ psql mydb
mydb=> \i myrequest
mydb=> \g
If results have > N rows,
the psql-command output to display the message:
"FATAL 1: Memory exhausted in AllocSetAlloc()
pqReadData() -- backend closed the channel unexpectedly.
This probably means the backend terminated abnormaly
before or while processing the request.
psql: connection to server was lost"
and fine execute if results have < N rows.
N ~ 40.000 rows.
What can I do?
Thank you.
---
My configuration:
HP Netserver E30 (Pentium 166MHz/ 128Mb RAM/ 4Gb and 9Gb Wide-SCSI HDD)
SCO UnixWare 2.1.3
Perl 5.004_04
DBI 1.14
DBD::Pg 0.95
PostgreSQL 7.0.3
On Pentium Pro server my SQL-request work fine if result have any N
rows!
--------------------------------------------------------------
*** Second trouble:
I can't compile PostgreSQL 7.0.3 (and 7.0.2) with ODBC support.
UnixWare C compiler not understand comment: "//"
Compiler understand only brackets of comment "/*" and "*/".
I can't change all comments! :-(
Best regards,
Igor Avtaev
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: 1)Can't compile with ODBC support. 2)FATAL 1: AllocSetAlloc() on Pentium computer.
@ 2000-12-05 16:56 Peter Eisentraut <peter_e@gmx.net>
parent: Igor N. Avtaev <ain@usi.ru>
0 siblings, 2 replies; 5+ messages in thread
From: Peter Eisentraut @ 2000-12-05 16:56 UTC (permalink / raw)
To: Igor N. Avtaev <ain@usi.ru>; +Cc: pgsql-admin; pgsql-ports@postgresql.org
Igor N. Avtaev writes:
> I can't compile PostgreSQL 7.0.3 (and 7.0.2) with ODBC support.
> UnixWare C compiler not understand comment: "//"
> Compiler understand only brackets of comment "/*" and "*/".
>
> I can't change all comments! :-(
You're gonna have to, after which you'll immediately encounter linking
problems because the ODBC driver only compiles with GCC. Fixing that will
require some non-trivial programming work. Sorry.
--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: 1)Can't compile with ODBC support. 2)FATAL 1: AllocSetAlloc() on Pentium computer.
@ 2000-12-05 17:24 Larry Rosenman <ler@lerctr.org>
parent: Peter Eisentraut <peter_e@gmx.net>
1 sibling, 1 reply; 5+ messages in thread
From: Larry Rosenman @ 2000-12-05 17:24 UTC (permalink / raw)
To: pgsql-admin; pgsql-ports@postgresql.org
* Peter Eisentraut <peter_e@gmx.net> [001205 11:22]:
> Igor N. Avtaev writes:
>
> > I can't compile PostgreSQL 7.0.3 (and 7.0.2) with ODBC support.
> > UnixWare C compiler not understand comment: "//"
> > Compiler understand only brackets of comment "/*" and "*/".
> >
> > I can't change all comments! :-(
>
> You're gonna have to, after which you'll immediately encounter linking
> problems because the ODBC driver only compiles with GCC. Fixing that will
> require some non-trivial programming work. Sorry.
The UDK FS 7.1.1b DOES accept // comments.
The other issue is more serious.
LER
>
> --
> Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: 1)Can't compile with ODBC support. 2)FATAL 1: AllocSetAlloc() on Pentium computer.
@ 2000-12-06 03:27 Raju Mathur <raju@linux-delhi.org>
parent: Peter Eisentraut <peter_e@gmx.net>
1 sibling, 0 replies; 5+ messages in thread
From: Raju Mathur @ 2000-12-06 03:27 UTC (permalink / raw)
To: pgsql-admin; pgsql-ports@postgresql.org
find . -name "*.[ch]" | xargs perl -i -p -e 's://(.*):/*\1 */:'
>>>>> "Peter" == Peter Eisentraut <peter_e@gmx.net> writes:
Peter> Igor N. Avtaev writes:
>> I can't compile PostgreSQL 7.0.3 (and 7.0.2) with ODBC support.
>> UnixWare C compiler not understand comment: "//" Compiler
>> understand only brackets of comment "/*" and "*/".
>>
>> I can't change all comments! :-(
Peter> You're gonna have to, after which you'll immediately
Peter> encounter linking problems because the ODBC driver only
Peter> compiles with GCC. Fixing that will require some
Peter> non-trivial programming work. Sorry.
Peter> -- Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: [PORTS] Re: 1)Can't compile with ODBC support. 2)FATAL 1: AllocSetAlloc() on Pentium computer.
@ 2000-12-12 13:48 Bruce Momjian <pgman@candle.pha.pa.us>
parent: Larry Rosenman <ler@lerctr.org>
0 siblings, 0 replies; 5+ messages in thread
From: Bruce Momjian @ 2000-12-12 13:48 UTC (permalink / raw)
To: Larry Rosenman <ler@lerctr.org>; +Cc: pgsql-admin; pgsql-ports@postgresql.org
Those // comments have been removed from ODBC for 7.1.
> * Peter Eisentraut <peter_e@gmx.net> [001205 11:22]:
> > Igor N. Avtaev writes:
> >
> > > I can't compile PostgreSQL 7.0.3 (and 7.0.2) with ODBC support.
> > > UnixWare C compiler not understand comment: "//"
> > > Compiler understand only brackets of comment "/*" and "*/".
> > >
> > > I can't change all comments! :-(
> >
> > You're gonna have to, after which you'll immediately encounter linking
> > problems because the ODBC driver only compiles with GCC. Fixing that will
> > require some non-trivial programming work. Sorry.
> The UDK FS 7.1.1b DOES accept // comments.
>
> The other issue is more serious.
>
> LER
>
> >
> > --
> > Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2000-12-12 13:48 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-12-05 11:11 1)Can't compile with ODBC support. 2)FATAL 1: AllocSetAlloc() on Pentium computer. Igor N. Avtaev <ain@usi.ru>
2000-12-05 16:56 ` Re: 1)Can't compile with ODBC support. 2)FATAL 1: AllocSetAlloc() on Pentium computer. Peter Eisentraut <peter_e@gmx.net>
2000-12-05 17:24 ` Larry Rosenman <ler@lerctr.org>
2000-12-12 13:48 ` Re: [PORTS] Re: 1)Can't compile with ODBC support. 2)FATAL 1: AllocSetAlloc() on Pentium computer. Bruce Momjian <pgman@candle.pha.pa.us>
2000-12-06 03:27 ` Raju Mathur <raju@linux-delhi.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox