Re: [HACKERS] DBI/DBD anyone?

Maarten Boekhold <maartenb@dutepp2.et.tudelft.nl>

From: Maarten Boekhold <maartenb@dutepp2.et.tudelft.nl>
To: Interfaces <pgsql-interfaces@hub.org>
Cc: Hackers <hackers@postgreSQL.org>, Interfaces <pgsql-interfaces@postgreSQL.org>
Date: 1998-06-24T08:19:03Z
Lists: pgsql-hackers
On Tue, 23 Jun 1998, Vince Vielhaber wrote:

> 
> I'm sending this one to both hackers and interfaces (not sure which one
> it really pertains to) but I have the reply-to set to interfaces.
> 
> Anyway...
> 
> I'm trying to set up dbd/dbi and all went well until I got to test DBD.
> The README says it's for 6.2+, but fails when trying to create a table
> like so:
> 
> CREATE TABLE builtin (
>  bool    bool,
>  char    char,
>  char16  char16,
>  text    text,
>  date    date,
>  int4    int4,
>  int4_   int4[],
>  float8  float8,
>  point   point,
>  lseg    lseg,
>  box     box
> )
> 
> I get the error:  ERROR:  parser: parse error at or near "char"
> 
> Same thing when I try to create it from psql.  Since I know I can

Hmmmm, isn't 'char' a reserved word? try to create this table with 
different column names....

Maarten

_____________________________________________________________________________
| TU Delft, The Netherlands, Faculty of Information Technology and Systems  |
|                   Department of Electrical Engineering                    |
|           Computer Architecture and Digital Technique section             |
|                          M.Boekhold@et.tudelft.nl                         |
-----------------------------------------------------------------------------