Search Postgresql Archives

Re: Why not working under 8.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adrian Klaver <aklaver@xxxxxxxxxxx> writes:
> Out of curiosity I went back to 8.0 and ran the function and got:
> production=> SELECT dodi();
> WARNING:  column "?column?" has type "unknown"
> DETAIL:  Proceeding with relation creation anyway.

Pre-8.2 plpgsql was willing to treat INTO as not special if the word
right after it was not any known plpgsql variable, but this was never
exactly a good thing to rely on.  Per the recommendation in the docs,
you should be using CREATE TABLE AS rather than SELECT INTO if you
want to get at the non-plpgsql behavior of SELECT INTO.

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux