DBD-Pg
view release on metacpan or search on metacpan
if (0==strcmp(word, "between")) return DBDPG_TRUE;
if (0==strcmp(word, "bigint")) return DBDPG_TRUE;
if (0==strcmp(word, "binary")) return DBDPG_TRUE;
if (0==strcmp(word, "bit")) return DBDPG_TRUE;
if (0==strcmp(word, "boolean")) return DBDPG_TRUE;
if (0==strcmp(word, "both")) return DBDPG_TRUE;
if (0==strcmp(word, "by")) return DBDPG_TRUE;
if (0==strcmp(word, "cache")) return DBDPG_TRUE;
if (0==strcmp(word, "call")) return DBDPG_TRUE;
if (0==strcmp(word, "called")) return DBDPG_TRUE;
if (0==strcmp(word, "cascade")) return DBDPG_TRUE;
if (0==strcmp(word, "cascaded")) return DBDPG_TRUE;
if (0==strcmp(word, "case")) return DBDPG_TRUE;
if (0==strcmp(word, "cast")) return DBDPG_TRUE;
if (0==strcmp(word, "catalog")) return DBDPG_TRUE;
if (0==strcmp(word, "chain")) return DBDPG_TRUE;
if (0==strcmp(word, "char")) return DBDPG_TRUE;
if (0==strcmp(word, "character")) return DBDPG_TRUE;
if (0==strcmp(word, "characteristics")) return DBDPG_TRUE;
if (0==strcmp(word, "check")) return DBDPG_TRUE;
if (0==strcmp(word, "checkpoint")) return DBDPG_TRUE;
if (0==strcmp(word, "class")) return DBDPG_TRUE;
t/03dbmethod.t view on Meta::CPAN
my $fk2 = [
$dbh->{pg_db},
$schema2,
$table1,
'b',
$dbh->{pg_db},
$schema2,
$table2,
'f3',
'1',
'0', ## cascade
'2', ## set null
'dbd_pg_test2_fk2',
'dbd_pg_test1_uc1',
'7',
'UNIQUE',
'int4',
'int4'
];
$expected = [$fk1,$fk2];
is_deeply ($result, $expected, $t);
( run in 0.462 second using v1.01-cache-2.11-cpan-49f99fa48dc )