Re: new AM, catalog entries - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: new AM, catalog entries
Date
Msg-id 1303830342-sup-5272@alvh.no-ip.org
Whole thread Raw
In response to new AM, catalog entries  (Yves Weißig <weissig@rbg.informatik.tu-darmstadt.de>)
Responses Re: new AM, catalog entries  (Yves Weißig<weissig@rbg.informatik.tu-darmstadt.de>)
List pgsql-hackers
Excerpts from Yves Weißig's message of mar abr 26 11:32:31 -0300 2011:

> I keep getting: ERROR:  there is no built-in function named "ebibuild"
> This error message somehow leads me to fmgr.c where the contents of an
> array are inspected (in line 134). This array fmgr_builtins is built by
> fmgr_builtins "Gen_fmgrtab.pl" from pg_proc.h (when? during make?)

Yes, during make.

> Do I have to edit pg_proc.h manually to add my methods for the new AM?

Yes.  Or maybe you can try using language C instead of internal (if you
have it in a shared library).

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Zheng Yang
Date:
Subject: GSoC 2011 Project: Enhancing Foreign-data Wrapper (FDW) functionality for PostgreSQL
Next
From: Dimitri Fontaine
Date:
Subject: Re: WIP: Allow SQL-language functions to reference parameters by parameter name