Questions about parser code - Mailing list pgsql-hackers

From Gregory Stark
Subject Questions about parser code
Date
Msg-id 873b5sa3u9.fsf@stark.xeocode.com
Whole thread Raw
Responses Re: Questions about parser code  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Is it considered ok for the pstate data structures to have references to nodes
in the query tree? Or should they do copyObject() if they need to refer to
them? 

Is it ok to scribble on and reuse objects from the parse tree when generating
the transformed tree? Or should the transformed query object be built from
freshly allocated nodes?

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: "Tom Dong"
Date:
Subject: Re: [ADMIN] How to configure Postgres NOT to use (load) openssl libraries libeay32.dll and ssleay32.dll
Next
From: Bruce Momjian
Date:
Subject: standard_conforming_strings 'on' for 8.3?