| From: | Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar> |
|---|---|
| To: | "Chris Travers" <chris(at)travelamericas(dot)com>, "Doug McNaught" <doug(at)mcnaught(dot)org> |
| Cc: | <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: plpgsql string concatanation |
| Date: | 2003-11-28 14:25:40 |
| Message-ID: | 200311281125.40792.martin@bugs.unl.edu.ar |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
El Vie 28 Nov 2003 10:38, Chris Travers escribió:
> One thing that I always have to remind myself of is this:
>
> string || NULL is NULL.
> It is usually a good idea to use coalesce() unless you want this to happen.
Pretty nice. :-)
Even though I don't have that problem, becuase the value comes from a PK
field.
--
11:24:01 up 2 days, 17:48, 1 user, load average: 0.56, 0.62, 0.63
-----------------------------------------------------------------
Martín Marqués | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica | DBA, Programador, Administrador
Universidad Nacional
del Litoral
-----------------------------------------------------------------
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Marco Colombo | 2003-11-28 14:40:29 | Re: disaster recovery |
| Previous Message | Thierry Missimilly | 2003-11-28 14:19:36 | Re: What is WAL used for? |