Re: refactoring comment.c - Mailing list pgsql-hackers

From Tom Lane
Subject Re: refactoring comment.c
Date
Msg-id 16627.1282059009@sss.pgh.pa.us
Whole thread Raw
In response to Re: refactoring comment.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: refactoring comment.c
List pgsql-hackers
I wrote:
> Maybe so, but the parser is expected to put out a representation that
> will still be valid when the command is executed some time later.

Rereading this, I see I didn't make my point very clearly.  The reason
this code doesn't belong in parser/ is that there's no prospect the
parser itself would ever use it.  ObjectAddress is an execution-time
creature because we don't want utility statement representations to be
resolved to OID-level detail before they execute.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Todays git migration results
Next
From: Tom Lane
Date:
Subject: Re: outPlannedStmt missing transientPlan