From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | Ravi Kiran <ravi(dot)kolanpaka(at)gmail(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Relation name stored in Postgres |
Date: | 2015-04-02 14:43:36 |
Message-ID: | CAFj8pRBUkN2HLxFi5P3P=zgPUEJJhs13ti5QKmb6xjE-H2DYYw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
2015-04-02 16:26 GMT+02:00 Ravi Kiran <ravi(dot)kolanpaka(at)gmail(dot)com>:
> Hi,
> Thank you Sir.
> Also, could you tell me during which stage(whether parser,optimizer or
> executor) does the table name gets stored, and if possible could you tell
> me which program specifically does that.
>
Usually parser, optimizer and command execution work with data from
pg_class table. I don't understand to second question. if you need some
points to postgresql source code - then magic word is "relname"
Regards
Pavel
>
> Thank you.
> ᐧ
>
> On Thu, Apr 2, 2015 at 7:32 PM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
> wrote:
>
>> Hi
>>
>> it is in system catalog - table pg_class, column relname
>>
>> Regards
>>
>> Pavel Stehule
>>
>>
>> 2015-04-02 15:52 GMT+02:00 Ravi Kiran <ravi(dot)kolanpaka(at)gmail(dot)com>:
>>
>>> Hi,
>>>
>>> I want to know how the relation name is stored in postgres, In which
>>> part of the postgres source code could I find the relation name being
>>> stored.
>>>
>>> Thank you
>>>
>>> --
>>> Regards,
>>>
>>> K.Ravikiran
>>>
>>>
>>
>
>
> --
> Regards,
>
> K.Ravikiran
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Melvin Davidson | 2015-04-02 15:20:50 | Re: Relation name stored in Postgres |
Previous Message | Ravi Kiran | 2015-04-02 14:29:08 | Re: Relation name stored in Postgres |