| From: | Atri Sharma <atri(dot)jiit(at)gmail(dot)com> | 
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> | 
| Cc: | Aleksander Alekseev <a(dot)alekseev(at)postgrespro(dot)ru>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org> | 
| Subject: | Re: PROPOSAL: Fast temporary tables | 
| Date: | 2016-03-01 15:56:26 | 
| Message-ID: | CAOeZVifP9w9ADEuGiTbaib9djrY2K9s8z0dNTcLyNgWpjrjMaw@mail.gmail.com | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-hackers | 
>
>
>
> I think you have no concept how invasive that would be.  Tables not
> represented in the catalogs would be a disaster, because *every single
> part of the backend* would have to be modified to deal with them as
> a distinct code path --- parser, planner, executor, loads and loads
> of utility commands, etc.  I do not think we'd accept that.  Worse yet,
> you'd also break client-side code that expects to see temp tables in
> the catalogs (consider psql \d, for example).
>
>
I might be missing a point here, but I really do not see why we would need
an alternate code path for every part of the backend. I agree that all
utility commands, and client side code would break, but if we abstract out
the syscache API and/or modify only the syscache's underlying access paths,
then would the backend really care about whether the tuple comes from
physical catalogs or in memory catalogs?
-- 
Regards,
Atri
*l'apprenant*
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2016-03-01 16:00:37 | Re: PROPOSAL: Fast temporary tables | 
| Previous Message | Tom Lane | 2016-03-01 15:52:08 | Re: PROPOSAL: Fast temporary tables |