Re: [HACKERS] New developer TODO suggestions

2014-09-18 Thread Andres Freund
On 2014-09-18 17:30:38 +0800, Craig Ringer wrote: > On 07/29/2014 10:43 PM, Bruce Momjian wrote: > >> > * When a user tries to run "psql -f some_custom_format_backup", detect > >> > this and emit a useful error message. Ditto stdin. > > > > Uh, good idea, but can we really do that in psql? > > Whe

Re: [HACKERS] New developer TODO suggestions

2014-09-18 Thread Craig Ringer
On 07/29/2014 10:43 PM, Bruce Momjian wrote: >> > * When a user tries to run "psql -f some_custom_format_backup", detect >> > this and emit a useful error message. Ditto stdin. > > Uh, good idea, but can we really do that in psql? Where stdin is a file, or an explicit -f is given, then yes. Just

Re: [HACKERS] New developer TODO suggestions

2014-07-30 Thread Andrew Dunstan
On 07/30/2014 06:11 PM, Peter Geoghegan wrote: On Wed, Jul 30, 2014 at 2:37 PM, Andrew Dunstan wrote: Both these might be possible. I am not planning on doing them, at least. My current json plans for 9.5 are limited to implementing jsonb equivalents of those json functions that didn't make it

Re: [HACKERS] New developer TODO suggestions

2014-07-30 Thread Peter Geoghegan
On Wed, Jul 30, 2014 at 2:37 PM, Andrew Dunstan wrote: > Both these might be possible. I am not planning on doing them, at least. My > current json plans for 9.5 are limited to implementing jsonb equivalents of > those json functions that didn't make it into the 9.4 jsonb work due to > pressure of

Re: [HACKERS] New developer TODO suggestions

2014-07-30 Thread Andrew Dunstan
On 07/29/2014 10:43 AM, Bruce Momjian wrote: * A function that converts a json array to a PostgreSQL array of a given type if all json members are compatible with the type * Expanding the set of json/jsonb operations to introduce features that people are used to from jquery, mongo, etc. Replac

Re: [HACKERS] New developer TODO suggestions

2014-07-29 Thread Bruce Momjian
On Tue, Jun 24, 2014 at 10:58:54AM +0800, Craig Ringer wrote: > Hi all > > Someone recently mentioned that there's no generate_series(numeric, > numeric, numeric) . > > That strikes me as a great candidate for a > new-developer-learning-PostgreSQL TODO. > > > A couple of other things I occasion

[HACKERS] New developer TODO suggestions

2014-06-23 Thread Craig Ringer
Hi all Someone recently mentioned that there's no generate_series(numeric, numeric, numeric) . That strikes me as a great candidate for a new-developer-learning-PostgreSQL TODO. A couple of other things I occasionally run into that'd fit the bill: * A user-level elog(...) / ereport(...) functi