Re: [GENERAL] Statically linking against libpq

2005-01-18 Thread Matthew Metnetsky
On Mon, 2005-01-17 at 17:52 -0500, Tom Lane wrote: > John DeSoi <[EMAIL PROTECTED]> writes: > Presumably you are using a fairly vanilla set of configure options, too. > Matthew's missing symbols are Kerberos subroutines, so evidently his > problem is that he configured --with-krb5 but didn't bother

Re: [GENERAL] Statically linking against libpq

2005-01-17 Thread Matthew Metnetsky
On Mon, 2005-01-17 at 14:10 -0500, Matthew Metnetsky wrote: > I'll start off by saying that I am a compiling novice, so bear with me > please. > > I have a library which is being plugged into a game server to provide > extra functionality. The library is currently linked aga

[GENERAL] Statically linking against libpq

2005-01-17 Thread Matthew Metnetsky
I'll start off by saying that I am a compiling novice, so bear with me please. I have a library which is being plugged into a game server to provide extra functionality. The library is currently linked against libpq like so `gcc -shared -lpq`. It compiles and runs great as long as people have li

Re: [GENERAL] Custom Functions

2004-09-29 Thread Matthew Metnetsky
Hello, On Tue, 2004-09-28 at 13:57, Tim Penhey wrote: > Matthew Metnetsky wrote: > > >So, does anyone know of (or have) good examples of queries within > >functions (and returning sets of data)? > > > >Thanks in advance, > > > >~ Matthew > > &g

Re: [GENERAL] Custom Functions

2004-09-28 Thread Matthew Metnetsky
On Tue, 2004-09-28 at 10:55, Katsaros Kwn/nos wrote: > > So, does anyone know of (or have) good examples of queries within > > functions (and returning sets of data)? > > I'm not very experienced in PostgreSQL but maybe SPI functions is what you > need. Yeah I took a look at them, but I'm not sol

[GENERAL] Custom Functions

2004-09-28 Thread Matthew Metnetsky
I'm trying to write two custom recursive functions: one that selects, and the other that selects/updates. I've been looking around the internet for examples for they're so limiting and completely off track from what I need to do. The best examples I can find is in the source code for Postgres, bu