Re: execute sql commands in core

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: black light <blacklight1600(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: execute sql commands in core
Date: 2010-01-05 15:29:44
Message-ID: 9758.1262705384@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Tue, Jan 5, 2010 at 12:56 AM, black light <blacklight1600(at)gmail(dot)com> wrote:
>> In fact, i want to add a table to system catalog and SELECT/UPDATE it from
>> auth.c.

> If you are considering proposing your patch for inclusion in the
> PostgreSQL upstream sources, you should first discuss why you are
> trying to do this and what you hope to get out of it. There might be
> a way to do whatever it is you are trying to do without modifying the
> source code.

One point worth noting is that there is precisely zero hope of making
that work in any existing release series, because auth.c doesn't run
inside a transaction. You could probably make it work with recent CVS
HEAD though (ie, since we pulled the plug on the flat auth file).

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2010-01-05 15:31:19 Re: Re: [COMMITTERS] pgsql: Remove too-smart-for-its-own-good optimization of not overwriting
Previous Message Adrian Klaver 2010-01-05 15:27:45 Re: FM format modifier does not remove leading zero from year