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

Re: SPI & file locations

From: Ron Peterson <rpeterson(at)yellowbank(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: SPI & file locations
Date: 2000-05-26 19:30:22
Message-ID: 392ED0CE.CF349A3C@yellowbank.com (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-hackers
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-

In response to

pgsql-hackers by date

Next:From: Zeugswetter AndreasDate: 2000-05-26 19:43:20
Subject: Re: Berkeley DB...
Previous:From: Mike MascariDate: 2000-05-26 18:48:22
Subject: Re: Berkeley DB...

pgsql-general by date

Next:From: Bryan WhiteDate: 2000-05-26 19:43:26
Subject: Re: Update Performance from 6.5.0 to 6.5.3 to 7.0
Previous:From: Johann UhrmannDate: 2000-05-26 19:13:19
Subject: INSERT/UPDATE in views fail silently

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