Re: Simplified VALUES parameters

Поиск
Список
Период
Сортировка
От Leon Smith
Тема Re: Simplified VALUES parameters
Дата
Msg-id CAPwAf1nLsv8njtOCRSKa7yPXOMg=j9R4X2OEP8cUaMtaRhe4UA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Simplified VALUES parameters  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
On Wed, Feb 26, 2014 at 1:54 PM, Josh Berkus <josh@agliodbs.com> wrote:
And thank you for writing that driver!

You are welcome! 

I have no opinion about your request for VALUES() stuff, though.  It
looks fairly complex as far as grammar and libpq is concerned.

Actually,  my suggestions wouldn't necessarily impact libpq at all.   For better and worse,  postgresql-simple does not currently support protocol-level parameters at all.   While it's clear to me that I do eventually need to work on supporting protocol-level parameters and support for the binary formats,  it's also become clear to me since I first wrote it that protocol-level parameters are not a total replacement either,  and that postgresql-simple will still need to support direct parameter expansion in some cases.   (e.g. for values parameters,  for identifier parameters (which aren't yet supported due to the need to drop support for libpq 8.4),  etc.)

Best,
Leon

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Simplified VALUES parameters
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: [PATCH] Use MAP_HUGETLB where supported (v3)