Re: Definition of function base_yylex in version 8.1.4

From: sayali k <sayali_s_kulkarni(at)yahoo(dot)co(dot)in>
To: Ashish Mehra <mehraak(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Definition of function base_yylex in version 8.1.4
Date: 2007-10-28 04:48:13
Message-ID: 203655.92496.qm@web7602.mail.in.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I am trying to implement materialized views using trigger which will be used to maintain the views which will be generated. For this I am required to add a new command for the creation of a materialized view, which is already done by modifying the grammar in the gram.y file.
However, I need to know where exactly the function base_yylex is defined. This function seems to return the next token from the command.

Any help is appreciated,

Ashish Mehra <mehraak(at)gmail(dot)com> wrote:
Hi Sayali,

What project is this that you are working on, any details that you provide will help

Regards
Ashish


On 10/27/07, sayali k <sayali_s_kulkarni(at)yahoo(dot)co(dot)in> wrote: Hi all,
I am having a project in Postgres where I need to modify some code in the parser section of the code base. During some analysis I came across a function called "base_yylex" which is called in the function yylex in the file parser.c. However, I was unable to find the definition of this function due to which I am stuck completely.
Looking forward to some help from experts.
Thanks in advance

Best regards,
Sayali

== ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ ==
Happiness is nothing more than a good health and a bad memory
== ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ ==

---------------------------------
For ideas on reducing your carbon footprint visit Yahoo! For Good this month.

Best regards,
Sayali

== ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ ==
Happiness is nothing more than a good health and a bad memory
== ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ ==


---------------------------------
For email that puts you in control, choose Yahoo! Mail.

Browse pgsql-hackers by date

  From Date Subject
Next Message sayali k 2007-10-28 04:49:14 Re: Definition of function base_yylex in version 8.1.4
Previous Message Henry B. Hotz 2007-10-28 04:46:10 Re: 8.3 GSS Issues