Questions about parser code

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Questions about parser code
Date: 2007-01-30 16:15:10
Message-ID: 873b5sa3u9.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2007-01-30 16:23:49 standard_conforming_strings 'on' for 8.3?
Previous Message Tom Dong 2007-01-30 16:14:15 Re: [ADMIN] How to configure Postgres NOT to use (load) openssl libraries libeay32.dll and ssleay32.dll