diff options
| author | Drahflow <drahflow@gmx.de> | 2015-03-05 00:16:22 +0100 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2015-03-05 00:16:22 +0100 |
| commit | 579a29c59b94370c40a71168271aa5fb96f764c8 (patch) | |
| tree | db7cf7289ff3069f3e7d22aa3657ea7cba548058 /examples | |
| parent | c3836f20bc8becaaa3e5266d1e56319b7d9093b8 (diff) | |
The nonbreaking-space hack is now official
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/working-compiler/postgresql.test | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/working-compiler/postgresql.test b/examples/working-compiler/postgresql.test new file mode 100644 index 0000000..16c4bcf --- /dev/null +++ b/examples/working-compiler/postgresql.test @@ -0,0 +1,15 @@ +"lib/ffi.ey" include +"lib/ffi/pq.ey" include + +{ + "dbname=template1" ffi .pq .functional ">>" deffd + "2015-01-01" >>SELECT * FROM pg_stat_activity WHERE backend_start > $1 { ==row + row keys { ==k + k ": " cat row k . cat dump + } each + } each +} { + "Something went wrong with PostgresSQL: " -01 .msg cat die +} ?!io.ffi.pq + +# vim: syn=elymas |
