From: | Larry Rosenman <ler(at)lerctr(dot)org> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | pg_atoi: zero length string |
Date: | 2002-11-24 22:58:10 |
Message-ID: | 14530000.1038178690@lerlaptop.lerctr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
I know, it's late, and I assume this is intentional, but wanted to check:
on 7.2.3:
$ psql
Welcome to psql, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help on internal slash commands
\g or terminate with semicolon to execute query
\q to quit
ler=# \d
List of relations
Name | Type | Owner
-------------+-------+-------
nat_dal_est | table | ler
(1 row)
ler=# create table z_test(t int);
CREATE
ler=# insert into z_test(t) values('');
INSERT 40606 1
ler=# select * from z_test;
t
---
0
(1 row)
ler=# \q
$
Connection to ler-freebie.iadfw.net closed.
$
on 7.3rc1:
$ psql
Welcome to psql 7.3rc1, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help on internal slash commands
\g or terminate with semicolon to execute query
\q to quit
ler=# create table z_test(t int);
CREATE TABLE
ler=# insert into z_test(t) values('');
ERROR: pg_atoi: zero-length string
ler=# \q
$
This drive phpgroupware nuts...
(their code needs help, but).
LER
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
From | Date | Subject | |
---|---|---|---|
Next Message | Larry Rosenman | 2002-11-24 23:33:48 | Re: pg_atoi: zero length string |
Previous Message | Christopher Kings-Lynne | 2002-11-24 22:55:52 | Re: pg_atoi: zero length string |