PostgreSQL 8.1.5 Documentation - Chapter 32. Extending SQL

From: Rares Vernica <rvernica(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: PostgreSQL 8.1.5 Documentation - Chapter 32. Extending SQL
Date: 2006-10-20 03:14:26
Message-ID: eh9eui$h40$1@sea.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Daniel CAUNE 2006-10-21 03:55:10 Re: conversion of numeric field from MSSQL to postgres
Previous Message Jim C. Nasby 2006-10-19 16:55:29 Re: Grouping by day, limiting amounts