Re: [BUGS] Creating server-side functions: one simple error

2002-10-09 Thread Joe Conway
Ruslan A Dautkhanov wrote: > Btw, how I can convert TEXT field to a CString one? I had tried to use > char *cnum = PG_GETARG_CSTRING(0) instead of > text tnum = PG_GETARG_NAME(0), but it's not worked properly. Is any function > to convert text object to a null-terminated string??? Thanks ag

Re: [BUGS] Creating server-side functions: one simple error

2002-10-09 Thread Ruslan A Dautkhanov
Tom Lane wrote: > Ruslan A Dautkhanov <[EMAIL PROTECTED]> writes: > > I have to create my own function in C lanuage, which > > will use SPI. The problem that when I had done all things, > > PostgreSQL says: > > isbs=# select pgf1test('123'); > > ERROR: Can't find function pgf1test in fil

[BUGS] psql does not invoke pager on \h *

2002-10-09 Thread Jean-Luc Lachance
Subject says it all JLL ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [BUGS] Creating server-side functions: one simple error

2002-10-09 Thread Tom Lane
Ruslan A Dautkhanov <[EMAIL PROTECTED]> writes: > I have to create my own function in C lanuage, which > will use SPI. The problem that when I had done all things, > PostgreSQL says: > isbs=# select pgf1test('123'); > ERROR: Can't find function pgf1test in file /usr/local/pgsql/lib/pgf1te

[BUGS] Creating server-side functions: one simple error

2002-10-09 Thread Ruslan A Dautkhanov
Hi, I have to create my own function in C lanuage, which will use SPI. The problem that when I had done all things, PostgreSQL says: isbs=# select pgf1test('123'); ERROR: Can't find function pgf1test in file /usr/local/pgsql/lib/pgf1test.so I don't know where problems is. The program is