Re: SPI & file locations - Mailing list pgsql-general

From Ron Peterson
Subject Re: SPI & file locations
Date
Msg-id 392ED0CE.CF349A3C@yellowbank.com
Whole thread Raw
In response to SPI & file locations  (Ron Peterson <rpeterson@yellowbank.com>)
List pgsql-general
So I got the moddatetime trigger example in /contrib working.  A couple
of notes:

moddatetime.c makes reference to DATETIME.  This needs to be changed to
TIMESTAMP.  I've done this, if you want the source.

I need to make .so files in two steps: first make a regular object file,
then compile that w/ -fpic and -shared and output an .so file.  If I try
to do this in one step, it doesn't work.  This may very well be the way
the compiler is _supposed_ to work, I dunno.  RH6.1, kernel 2.2.13, gcc
version egcs-2.91.66_19990314/Linux (egcs-1.1.2 release).

-Ron-

pgsql-general by date:

Previous
From: Barry Lind
Date:
Subject: Re: Speed of locating tables?
Next
From: Alfred Perlstein
Date:
Subject: Re: Update Performance from 6.5.0 to 6.5.3 to 7.0