PostgreSQL 8.1.5 Documentation - Chapter 32. Extending SQL - Mailing list pgsql-sql

From Rares Vernica
Subject PostgreSQL 8.1.5 Documentation - Chapter 32. Extending SQL
Date
Msg-id eh9eui$h40$1@sea.gmane.org
Whole thread Raw
Responses Re: PostgreSQL 8.1.5 Documentation - Chapter 32. Extending SQL
List pgsql-sql
Hi,

I tried the code from "Calling Conventions Version 1 for C-Language 
Functions"

I had to add this in order to make it compile:
/* 16-byte structure, passed by reference */
typedef struct
{   double  x, y;
} Point;

Anyway, the "Point" is still giving me hard time:
psql:foo.sql:3: ERROR:  could not load library "...foo.so": ld.so.1: 
postgres: fatal: relocation error: file ...foo.so: symbol 
PG_GETARG_POINT_P: referenced symbol not found

Thanks a lot,
Ray



pgsql-sql by date:

Previous
From: "Indira Muthuswamy"
Date:
Subject: Re: [HACKERS] Bug?
Next
From: Daniel CAUNE
Date:
Subject: Re: conversion of numeric field from MSSQL to postgres