Fix interface example errors causes by backend changes.

Permaine Cheung
This commit is contained in:
Bruce Momjian 2002-06-07 03:55:15 +00:00
parent 4ac77d3708
commit ce4a287f43
4 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@ main(int argc, char **argv)
afloat float4, \
adouble float8, \
achar char, \
achar16 char16, \
achar16 char(16), \
abpchar char(10), \
avarchar varchar(50), \
atext text, \

View File

@ -52,7 +52,7 @@ main(int argc, char **argv)
afloat float4, \
adouble float8, \
achar char, \
achar16 char16, \
achar16 char(16), \
abpchar char(10), \
avarchar varchar(50), \
atext text, \

View File

@ -2,4 +2,4 @@ CREATE TABLE TBL1 (i int4);
CREATE TABLE TBL2 (i int4);
CREATE RULE r1 AS ON INSERT TO TBL1 DO [INSERT INTO TBL2 values (new.i); NOTIFY TBL2];
CREATE RULE r1 AS ON INSERT TO TBL1 DO (INSERT INTO TBL2 values (new.i); NOTIFY TBL2);

View File

@ -25,7 +25,7 @@ int main()
else cout << "Connected to database '" << dbName << "'..." << endl;
// Create a new table
if ( !data.ExecCommandOk("CREATE TABLE foo (a int4, b char16, d float8)") ) {
if ( !data.ExecCommandOk("CREATE TABLE foo (a int4, b char(16), d float8)") ) {
cerr << "CREATE TABLE foo command failed" << endl;
exit(1);
}