Re: Simplified VALUES parameters - Mailing list pgsql-hackers

From Leon Smith
Subject Re: Simplified VALUES parameters
Date
Msg-id CAPwAf1nLsv8njtOCRSKa7yPXOMg=j9R4X2OEP8cUaMtaRhe4UA@mail.gmail.com
Whole thread Raw
In response to Re: Simplified VALUES parameters  (Josh Berkus <josh@agliodbs.com>)
List 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 by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Simplified VALUES parameters
Next
From: Stephen Frost
Date:
Subject: Re: [PATCH] Use MAP_HUGETLB where supported (v3)