I've encountered a problem where the PostgreSQL database crashes when
attempting to load pltcl.so on Mac OS 10.3. PostgreSQL fails because
memory cannot be allocated during a shmget call. Here is the exact
error message:
FATAL: could not create shared memory segment: Cannot allocate memory
DET
Hi Tom,
On Nov 4, 2003, at 4:48 PM, Tom Lane wrote:
Here's the code that triggers it:
create function pltcl_call_handler() RETURNS LANGUAGE_HANDLER
as 'pltcl.so' language 'c';
I don't think so. That's a startup failure; it can not be triggered by
executing a SQL command, because if the postm
/usr/bin, and in the
same place in FreeBSD source tree.
/s.
On Nov 6, 2003, at 2:41 PM, Tom Lane wrote:
Scott Goodwin <[EMAIL PROTECTED]> writes:
psql:/Users/scott/m/ops/database/sql/add_languages.sql:13: server
closed the connection unexpectedly
This probably means the se
es, so it doesn't dump me back to the gdb command line. I'll have
to set breakpoints, have GDB do something with the signal, or mod PG to
not catch it. That'll have to wait until tomorrow or Saturday.
thanks for the assist,
/s.
On Nov 6, 2003, at 2:41 PM, Tom Lane wrote:
S
Awesome! Thanks so much for the fix -- I depend on PostgreSQL and Tcl
on my powerbook to do development work.
cheers,
/s.
On Nov 8, 2003, at 2:09 PM, Tom Lane wrote:
It turns out that the "createlang pltcl" failure on OS X 10.3 was due
to
our ps_status code doing the wrong thing. I have comm
On Feb 21, 2004, at 1:51 AM, Tom Lane wrote:
Scott Goodwin <[EMAIL PROTECTED]> writes:
Hoping someone can help me figure out why I can't get PL/Tcl to load
without crashing the backend on Mac OS 10.3.2.
FWIW, pltcl seems to work for me. Using up-to-date Darwin 10.3.2
and PG CVS tip, I
rtup script to 'unset LS_COLORS' before starting PG,
and this works great. Has anyone else tried to duplicate this problem?
I'm using Mac OS 10.3.2, PG 7.4.1, Tcl 8.4.5.
/s.
On Feb 22, 2004, at 12:21 PM, Tom Lane wrote:
Scott Goodwin <[EMAIL PROTECTED]> writes:
Found the
I'll grab the CVS PG copy and try it out. Is this something the Darwin
folks should be notified about? It might cause problems with other
apps.
thanks,
/s.
On Feb 22, 2004, at 4:47 PM, Tom Lane wrote:
Scott Goodwin <[EMAIL PROTECTED]> writes:
Found the problem. If I have a very long