Changeset 9557 in project


Ignore:
Timestamp:
03/13/08 20:55:09 (12 years ago)
Author:
sjamaan
Message:

Add description and remove spaces on "empty" lines. Reformat the table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/postgresql

    r9553 r9557  
    77=== Description
    88
    9 
     9Simple bindings for [[http://www.postgresql.org/|PostgreSQL]]'s C-api.
    1010
    1111=== Author
    1212
    13 [[mailto:johs@copyleft.no|Johannes Grødem]].
     13[[mailto:johs@copyleft.no|Johannes GrÞdem]].
    1414
    1515==== Thanks to
     
    4646{{user}}, {{password}}, {{connect_timeout}},
    4747{{options}}, {{sslmode}}, {{service}}.
    48  
     48
    4949The return value is a connection-object.
    5050
     
    9898tuple returned by the query, if any.  The procedure should take one
    9999parameter, in which it is given a tuple.  Returns nothing.
    100  
     100
    101101<procedure>(pg:query-tuples QUERY CONNECTION)</procedure>
    102102
     
    149149
    150150<table>
    151   <tr>
    152     <th>PostgreSQL type</th>
    153     <th>Scheme type</th>
    154   </tr>
    155   <tr> <td>TEXT</td> <td>string</td> </tr>
    156   <tr> <td>BYTEA</td> <td>string</td> </tr>
    157   <tr> <td>CHAR</td> <td>char</td> </tr>
    158   <tr> <td>BPCHAR</td> <td>char</td> </tr>
    159   <tr> <td>BOOL</td> <td>boolean</td> </tr>
    160   <tr> <td>INT8</td> <td>fixnum or inexact<sup>1</sup></td> </tr>
    161   <tr> <td>INT4</td> <td>fixnum or inexact<sup>1</sup></td> </tr>
    162   <tr> <td>INT2</td> <td>fixnum</td> </tr>
    163   <tr> <td>FLOAT8</td> <td>inexact</td> </tr>
    164   <tr> <td>FLOAT4</td> <td>inexact</td> </tr>
    165   <tr> <td>ABSTIME</td> <td>unsupported<sup>2</sup></td> </tr>
    166   <tr> <td>RELTIME</td> <td>unsupported<sup>2</sup></td> </tr>
    167   <tr> <td>DATE</td> <td>vector {{#(year month date)}}</td> </tr>
    168   <tr> <td>TIME</td> <td>vector {{#(hour minute second microsecond)}}</td> </tr>
    169   <tr>
    170     <td>TIMESTAMP</td>
    171     <td>vector {{#(year month date hour minute second microsecond)}}</td>
    172   </tr>
    173   <tr>
    174     <td>TIMESTAMPTZ</td>
    175     <td>vector {{#(year month date hour minute second microsecond timezone)}}</td>
    176   </tr>
    177   <tr> <td>INTERVAL</td> <td>unsupported<nowiki><sup>2</sup></nowiki></td> </tr>
    178   <tr> <td>NUMERIC</td> <td>fixnum or inexact<nowiki><sup>1</sup></nowiki></td> </tr>
    179   <tr> <td>OID</td> <td>fixnum or inexact<nowiki><sup>1</sup></nowiki></td> </tr>
     151<tr>
     152<th>PostgreSQL type</th>
     153<th>Scheme type</th>
     154</tr>
     155<tr> <td>TEXT</td> <td>string</td> </tr>
     156<tr> <td>BYTEA</td> <td>string</td> </tr>
     157<tr> <td>CHAR</td> <td>char</td> </tr>
     158<tr> <td>BPCHAR</td> <td>char</td> </tr>
     159<tr> <td>BOOL</td> <td>boolean</td> </tr>
     160<tr> <td>INT8</td> <td>fixnum or inexact<sup>1</sup></td> </tr>
     161<tr> <td>INT4</td> <td>fixnum or inexact<sup>1</sup></td> </tr>
     162<tr> <td>INT2</td> <td>fixnum</td> </tr>
     163<tr> <td>FLOAT8</td> <td>inexact</td> </tr>
     164<tr> <td>FLOAT4</td> <td>inexact</td> </tr>
     165<tr> <td>ABSTIME</td> <td>unsupported<sup>2</sup></td> </tr>
     166<tr> <td>RELTIME</td> <td>unsupported<sup>2</sup></td> </tr>
     167<tr> <td>DATE</td> <td>vector {{#(year month date)}}</td> </tr>
     168<tr> <td>TIME</td> <td>vector {{#(hour minute second microsecond)}}</td> </tr>
     169<tr>
     170<td>TIMESTAMP</td>
     171<td>vector {{#(year month date hour minute second microsecond)}}</td>
     172</tr>
     173<tr>
     174<td>TIMESTAMPTZ</td>
     175<td>vector {{#(year month date hour minute second microsecond timezone)}}</td>
     176</tr>
     177<tr> <td>INTERVAL</td> <td>unsupported<nowiki><sup>2</sup></nowiki></td> </tr>
     178<tr> <td>NUMERIC</td> <td>fixnum or inexact<nowiki><sup>1</sup></nowiki></td> </tr>
     179<tr> <td>OID</td> <td>fixnum or inexact<nowiki><sup>1</sup></nowiki></td> </tr>
    180180</table>
    181181
     
    222222=== License
    223223
    224   Copyright (C) 2004 Johannes Grødem <johs@copyleft.no>
     224  Copyright (C) 2004 Johannes GrÞdem <johs@copyleft.no>
    225225  Redistribution and use in source and binary forms, with or without
    226226  modification, is permitted.
Note: See TracChangeset for help on using the changeset viewer.