Re: Proposal to add --single-row to psql

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: Proposal to add --single-row to psql
Дата
Msg-id 20130511153417.GA17951@fetter.org
обсуждение исходный текст
Ответ на Re: Proposal to add --single-row to psql  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Proposal to add --single-row to psql
Список pgsql-hackers
On Sat, May 11, 2013 at 11:17:03AM -0400, Robert Haas wrote:
> On Thu, May 9, 2013 at 7:36 AM, Michael Paquier
> <michael.paquier@gmail.com> wrote:
> 
> >> Some of this is getting solved by making PostgreSQL more pluggable in
> >> ways that isolate the proprietary stuff, i.e. make people not have to
> >> touch the PostgreSQL core code much, if at all, in order to provide
> >> whatever special features they provide.  Hooks and FDWs are two such
> >> pluggable components.
> >
> >  Extensions and the lovely background workers as well.
> 
> Some kind of extendable parser would be awesome.  It would need to tie
> into the rewriter also.
> 
> No, I don't have a clue what the design looks like.

That's a direction several of the proprietary RDBMS vendors have
proposed.  I think it'd be great :)

Pre-coffee (yeah, I know.  Bad idea.) sketch of an idea: create an API
to pass expression trees in and out.  This could have other benefits
as to clustering space, shortening the planning cycle, etc., but let's
not go there for now.  My knowledge is very, very sketchy, but when I
squint, the expression trees we use look a lot like JSON.  Are they
isomorphic?

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: [PATCH] pgbench --throttle (submission 5)
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [PATCH] Make "psql -1 < file.sql" work as with "-f"