Skip site navigation (1) Skip section navigation (2)

Re: error status 139

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Laurette Cisneros <laurette(at)nextbus(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: error status 139
Date: 2001-07-25 00:21:10
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
Laurette Cisneros <laurette(at)nextbus(dot)com> writes:
> Here's the stack track from the core file:
> #1  0x4013c445 in fprintf (stream=0x0,
>     format=0x4001966f "nbpointdist\n") at fprintf.c:32

Sure looks like you're trying to write on a non-open file (stream=0
suggests you're passing a NULL file pointer to fprintf).

As for your later message, no you can't return an SQL NULL by
returning a NULL pointer.  The only way to return NULLs cleanly
is to use the v1 function call interface, within which the macro
PG_RETURN_NULL() works.  See the documentation about writing C

			regards, tom lane

In response to


pgsql-admin by date

Next:From: Ang Sei HengDate: 2001-07-25 06:07:01
Subject: test
Previous:From: Henshall, Stuart - WCPDate: 2001-07-24 10:06:44
Subject: RE: putting odbc on university server

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group