pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sergio Brandano <serbr@tin.it>
To: pgsql-sql@postgreSQL.org
Cc: serbr@tin.it
Subject: [SQL] empty data
Date: Mon, 13 Jul 1998 12:51:04 +0200
Message-ID: <199807131051.MAA01703@maya.wonderland.org> (raw)


> serbr=> CREATE TABLE foo (mtdata date);
> CREATE
> serbr=> \dt
>
> Database    = serbr
>  +------------------+----------------------------------+----------+
>  |  Owner           |             Relation             |   Type   |
>  +------------------+----------------------------------+----------+
>  | serbr            | foo                              | table    |
>  +------------------+----------------------------------+----------+
> serbr=> INSERT INTO foo VALUES ('');
> ERROR:  Bad date external representation 
> serbr=> INSERT INTO foo VALUES ('//');
> ERROR:  Bad date external representation 

 My problem arise in a more general context, where the date may not
 be available at the time of data insert/update, and the data must
 be empty.

 What can I do? (I would not like to define a my own date-type...)

 Sergio




view thread (3+ messages)  latest in thread

Message-ID: <199807131051.MAA01703@maya.wonderland.org>
Permalink:  ../199807131051.MAA01703@maya.wonderland.org/
Also on:    postgresql.org/message-id/199807131051.MAA01703@maya.wonderland.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: serbr@tin.it
  Subject: Re: [SQL] empty data
  In-Reply-To: <199807131051.MAA01703@maya.wonderland.org>
  References: <199807131051.MAA01703@maya.wonderland.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox