Mohammad Heykal Abdillah wrote:
> Hi all,
> Right now i am trying to understand how SQL parser is work.
> My question is there anyway to get list of table name and its atribut
> before raw parser is analyze?
> Because i like to understand how PostgreSQL "break-down" the asterik at
> target list, specialy in "natural join" case where PostgreSQL can give
> query result that have unabigous attribut and match the right join key.
AIUI, expanding '*' is not done in the parser. The parser just makes an
See src/backend/gram.y for the parser spec.
Maybe you need to explain what exactly you're trying to do.
In response to
pgsql-hackers by date
|Next:||From: Mohammad Heykal Abdillah||Date: 2010-05-30 05:43:25|
|Subject: Re: Is there anyway to get list of table name, before
raw parser is analyze?|
|Previous:||From: Robert Haas||Date: 2010-05-30 03:55:02|
|Subject: Re: small exclusion constraints patch|