Propose removing contrib/spi/preprocessor/

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Propose removing contrib/spi/preprocessor/
Date: 2007-12-03 03:03:08
Message-ID: 1806.1196650988@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

So while poking around contrib/spi and trying to put together an SGML
doc file for it, I realized that the preprocessor/ subdirectory seems
entirely useless. What it does is generate CREATE TRIGGER commands
for use with contrib/spi/refint.c, given SQL input that includes FOREIGN
KEY clauses. That was probably useful before we had foreign key
functionality, but I cannot imagine a use for it today --- in practice
you'd use the real FK support.

Of course, you could argue that refint.c itself has zero use anymore,
but as an example of custom trigger writing it may still have some
value, so I'm not proposing removing it. I don't, however, see the
point of keeping this preprocessor around.

regards, tom lane

Browse pgsql-hackers by date

  From Date Subject
Next Message ITAGAKI Takahiro 2007-12-03 03:23:56 Re: [COMMITTERS] pgsql: Improve the manual's discussion of partitioning.
Previous Message Dragan Zubac 2007-12-03 00:34:20 Re: [HACKERS] Stored procedure issue