Definition of function base_yylex in version 8.1.4

Lists: pgsql-hackers
From: sayali k <sayali_s_kulkarni(at)yahoo(dot)co(dot)in>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Definition of function base_yylex in version 8.1.4
Date: 2007-10-27 10:22:15
Message-ID: 317052.72876.qm@web7610.mail.in.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

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.


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: sayali k <sayali_s_kulkarni(at)yahoo(dot)co(dot)in>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Definition of function base_yylex in version 8.1.4
Date: 2007-10-27 13:32:02
Message-ID: 15231.1193491922@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

sayali k <sayali_s_kulkarni(at)yahoo(dot)co(dot)in> writes:
> 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.

You need to read the flex manual... (hint: it's generated from scan.l)

regards, tom lane


From: sayali k <sayali_s_kulkarni(at)yahoo(dot)co(dot)in>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: 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:49:14
Message-ID: 937414.76477.qm@web7604.mail.in.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Thanks a lot for these details Tom, I will checkout the scan.l file
Best regards,
Sayali

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
sayali k writes:
> 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.

You need to read the flex manual... (hint: it's generated from scan.l)

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

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.