Re: [v9.3] writable foreign tables
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Greg Stark <stark@mit.edu>, Thom Brown <thom@linux.com>, Kohei KaiGai <kaigai@kaigai.gr.jp>, Daniel Farina <daniel@heroku.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2013-03-15T15:00:38Z
Lists: pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes: > On Mon, Mar 11, 2013 at 3:06 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: >> Greg Stark <stark@mit.edu> writes: >>> It feels a bit like unpredictable magic to have "DEFAULT" mean one >>> thing and omitted columns mean something else. >> Agreed. The current code behaves that way, but I think that's >> indisputably a bug not behavior we want to keep. > I'm not entirely convinced that's a bug. Both behaviors seem useful, > and there has to be some way to specify each one. I would love it if we had a way to provide remote-default functionality. But per SQL spec these should produce the same results: INSERT INTO t(f1, f2) VALUES(1, DEFAULT); INSERT INTO t(f1) VALUES(1); If PG fails to work like that, it's not a feature, it's a bug. Where the default is coming from is not a justification for failing the POLA like that. regards, tom lane
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix postgres_fdw's issues with inconsistent interpretation of data values.
- cc3f281ffb0a 9.3.0 cited