Re: [HACKERS] How to control the content of BKI files during installation process?

2006-08-14 Thread Tom Lane
Martijn van Oosterhout writes: > On Mon, Aug 14, 2006 at 12:31:30PM +0400, Nikolay Samokhvalov wrote: >> Is there any way to control (enable/disable) some parts of BKI file? > Sounds like you really want your function to be an external module. In > that case you can simply ship an SQL file that c

Re: [HACKERS] How to control the content of BKI files during installation process?

2006-08-14 Thread Martijn van Oosterhout
On Mon, Aug 14, 2006 at 12:31:30PM +0400, Nikolay Samokhvalov wrote: > Is there any way to control (enable/disable) some parts of BKI file? > (actually, I mean not BKI files themselves but their prototypes - > include/catalog/pg_*.h) No, because that's a bad idea. Even time somethin gthe catalog c

[HACKERS] How to control the content of BKI files during installation process?

2006-08-14 Thread Nikolay Samokhvalov
Is there any way to control (enable/disable) some parts of BKI file? (actually, I mean not BKI files themselves but their prototypes - include/catalog/pg_*.h) For example, I add some function to include/catalog/pg_proc.h and want to have ability to enable/disable it during installation process (e