Nico Callewaert <callewaert(dot)nico(at)telenet(dot)be> schrieb:
> Hello again,
> This is working ! Thanks...
> Is it better to use varchar as parameter, or just "text" ? The colmuns
> I'm updating through this function are varchars.
> I'm still surprised about 1 thing : it seems PostgreSQL is not checking
> for existing tables or columns.
> Like this : UPDATE tbl_table_last_change
> SET last_user = current_user,
> Table tbl_table_last_change doesn't exist yet, but still postgreSQL is
> acception the function definition...
Right, the code is syntactically correct.
> So, I guess, there is no early checking on tables/fields ?
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°
In response to
pgsql-novice by date
|Next:||From: Rodrigo E. De León Plicet||Date: 2009-01-24 16:16:31|
|Subject: Re: SQL Question: Averages of intervals.|
|Previous:||From: Nico Callewaert||Date: 2009-01-24 14:29:31|
|Subject: Re: Function call|