@@ -160,14 +160,14 @@ SELECT *
160160FROM dblink(' SELECT * FROM foo' ) AS t(a int , b text , c text [])
161161WHERE t .a > 7 ;
162162
163- -- put more data into our slave table, first using arbitrary connection syntax
163+ -- put more data into our table, first using arbitrary connection syntax
164164-- but truncate the actual return value so we can use diff to check for success
165165SELECT substr(dblink_exec(connection_parameters(),' INSERT INTO foo VALUES(10,' ' k' ' ,' ' {"a10","b10","c10"}' ' )' ),1 ,6 );
166166
167167-- create a persistent connection
168168SELECT dblink_connect(connection_parameters());
169169
170- -- put more data into our slave table, using persistent connection syntax
170+ -- put more data into our table, using persistent connection syntax
171171-- but truncate the actual return value so we can use diff to check for success
172172SELECT substr(dblink_exec(' INSERT INTO foo VALUES(11,' ' l' ' ,' ' {"a11","b11","c11"}' ' )' ),1 ,6 );
173173
@@ -316,7 +316,7 @@ WHERE t.a > 7;
316316-- create a named persistent connection
317317SELECT dblink_connect(' myconn' ,connection_parameters());
318318
319- -- put more data into our slave table, using named persistent connection syntax
319+ -- put more data into our table, using named persistent connection syntax
320320-- but truncate the actual return value so we can use diff to check for success
321321SELECT substr(dblink_exec(' myconn' ,' INSERT INTO foo VALUES(11,' ' l' ' ,' ' {"a11","b11","c11"}' ' )' ),1 ,6 );
322322
0 commit comments