pgsql: Avoid generating bad remote SQL for INSERT ... DEFAULT VALUES.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Avoid generating bad remote SQL for INSERT ... DEFAULT VALUES.
Date: 2013-03-11 18:26:28
Message-ID: E1UF7Qa-0002va-Kg@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Avoid generating bad remote SQL for INSERT ... DEFAULT VALUES.

"INSERT INTO foo() VALUES ()" is invalid syntax, so don't do that.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8f9cc41daf08be802933dc788517743719ee0949

Modified Files
--------------
contrib/postgres_fdw/deparse.c | 52 ++++++++++++++++++++++-----------------
1 files changed, 29 insertions(+), 23 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-03-12 01:31:40 pgsql: Fix postgres_fdw's issues with inconsistent interpretation of da
Previous Message Tom Lane 2013-03-11 16:00:31 pgsql: Fix thinko in matview patch.