diff --git a/contrib/postgres_fdw/expected/postgres_fdw.out b/contrib/postgres_fdw/expected/postgres_fdw.out index 671c329c9204fe191a35b1179756e0b0e241f147..eeb0b0f291c5a5a6ac56e32d9ea4bc33c1c8d8f5 100644 --- a/contrib/postgres_fdw/expected/postgres_fdw.out +++ b/contrib/postgres_fdw/expected/postgres_fdw.out @@ -2804,14 +2804,14 @@ NOTICE: trig_row_before(23, skidoo) BEFORE ROW UPDATE ON rem1 NOTICE: OLD: (12,"test triggered !"),NEW: (12,testo) NOTICE: trig_row_after(23, skidoo) AFTER ROW UPDATE ON rem1 NOTICE: OLD: (12,"test triggered !"),NEW: (12,"testo triggered !") --- Test returning system attributes -INSERT INTO rem1(f2) VALUES ('test') RETURNING ctid, xmin, xmax; +-- Test returning a system attribute +INSERT INTO rem1(f2) VALUES ('test') RETURNING ctid; NOTICE: trig_row_before(23, skidoo) BEFORE ROW INSERT ON rem1 NOTICE: NEW: (13,test) NOTICE: trig_row_after(23, skidoo) AFTER ROW INSERT ON rem1 NOTICE: NEW: (13,"test triggered !") - ctid | xmin | xmax ---------+------+------------ - (0,27) | 180 | 4294967295 + ctid +-------- + (0,27) (1 row) diff --git a/contrib/postgres_fdw/sql/postgres_fdw.sql b/contrib/postgres_fdw/sql/postgres_fdw.sql index d47ceca3c11d83a0223b467ff56dc4c7846128ca..e11f7d9960259d14b159ede63927d3468762c37f 100644 --- a/contrib/postgres_fdw/sql/postgres_fdw.sql +++ b/contrib/postgres_fdw/sql/postgres_fdw.sql @@ -604,5 +604,5 @@ FOR EACH ROW EXECUTE PROCEDURE trig_row_before_insupdate(); INSERT INTO rem1(f2) VALUES ('test'); UPDATE rem1 SET f2 = 'testo'; --- Test returning system attributes -INSERT INTO rem1(f2) VALUES ('test') RETURNING ctid, xmin, xmax; +-- Test returning a system attribute +INSERT INTO rem1(f2) VALUES ('test') RETURNING ctid;