extract psql meta-commands into library?

Поиск
Список
Период
Сортировка
От Catherine Devlin
Тема extract psql meta-commands into library?
Дата
Msg-id CAGCtaoNj4aw0f9zHesOrVDEh5ZJN66by9QqLL4RB01bdMaU81w@mail.gmail.com
обсуждение исходный текст
Ответы Re: extract psql meta-commands into library?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I'd like to provide access to psql's "backslash" meta-commands for
IPython's %sql magic, as well as some other non-psql tools.  When I
asked about standalone implementations of the meta-commands, Craig
Ringer suggested that extracting them from psql into a libpsql library
(which psql would then use) would make that easy for all matter of
external uses.

Does this sound doable / of interest?

(Originally asked at
http://stackoverflow.com/questions/22211916/standalone-psql-meta-command-implementation)

ipython-sql: https://pypi.python.org/pypi/ipython-sql/0.3.1

Thanks!
--
- Catherine
http://catherinedevlin.blogspot.com


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

Предыдущее
От: hubert depesz lubaczewski
Дата:
Сообщение: 9.1.11 - many backends in "semtimedop" syscall
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 9.1.11 - many backends in "semtimedop" syscall