Implizite lossy Typecasts bei INSERTs

From: Tim Landscheidt <tim(at)tim-landscheidt(dot)de>
To: pgsql-de-allgemein(at)postgresql(dot)org
Subject: Implizite lossy Typecasts bei INSERTs
Date: 2008-12-26 17:48:19
Message-ID: m3wsdmomjg.fsf@lockfix.tim-landscheidt.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-de-allgemein

Hallo,

mir fiel neulich auf, dass:

| tim=# SELECT version();
| version
| -------------------------------------------------------------------------------------------------------
| PostgreSQL 8.3.5 on i386-redhat-linux-gnu, compiled by GCC gcc (GCC) 4.3.2 20081007 (Red Hat 4.3.2-6)
| (1 Zeile)
|
| tim=# CREATE TABLE Test (i INT);
| CREATE TABLE
| tim=# INSERT INTO Test (i) VALUES (3.1415);
| INSERT 0 1
| tim=# SELECT * FROM Test;
| i
| ---
| 3
| (1 Zeile)
|
| tim=#

ohne Fehlermeldung durchläuft. Irgendwo in meinem Gedächtnis
schlummert die Erinnerung, dass das früher anders war. Ehe
ich die release notes der letzten Jahre noch einmal durchge-
he :-): War das wirklich jemals anders?

Danke,
Tim

Responses

Browse pgsql-de-allgemein by date

  From Date Subject
Next Message Andreas 'ads' Scherbaum 2008-12-26 21:17:35 Re: Implizite lossy Typecasts bei INSERTs
Previous Message Andreas 'ads' Scherbaum 2008-12-22 12:26:38 == Wöchentlicher PostgreSQL Newsletter - 21. Dezember 2008 ==