Re: backend reset of database
| От | Tom Lane |
|---|---|
| Тема | Re: backend reset of database |
| Дата | |
| Msg-id | 9106.1176143480@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: backend reset of database (Magnus Hagander <magnus@hagander.net>) |
| Ответы |
Re: backend reset of database
Re: backend reset of database |
| Список | pgsql-general |
Magnus Hagander <magnus@hagander.net> writes:
> Geoffrey wrote:
>> CREATE OR REPLACE FUNCTION pcm_getmiles_s(text,text,integer)
>> RETURNS float8 AS '/esc/pgrnd/prog/libpcmiler'
>> LANGUAGE 'c' WITH (isStrict);
> Is this function actually a PostgreSQL callable function? Or is it just
> a general C function along the line of
> float pcm_getmiles_s(char*, char*, int)
> ?
The code would never have worked at all if that were the case (since
text* is not like char*). I suspect some subtler portability issue in
Geoffrey's glue functions. It seems unlikely that moving from PG 7.4.13
to 7.4.16 would in itself have exposed such a problem, but the update in
operating environment from RHEL3 to RHEL4 might've.
regards, tom lane
В списке pgsql-general по дате отправления: