Re: Implementing replace function

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Alexander Farber <alexander(dot)farber(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Implementing replace function
Date: 2010-10-31 10:47:19
Message-ID: AANLkTinM0bY=Cn67L9CzSu8fBRCej0HbeokLYsQGmDou@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2010/10/31 Alexander Farber <alexander(dot)farber(at)gmail(dot)com>:
> And would a pure SQL-function solution to call
> an INSERT followed by an UPDATE in its body
> and ignoring the error? (don't know how ignore it
> best though, so that I don't ignore other critical errors)
>

You must not ignore errors in SQL - it's not T-SQL :)

Pavel

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andy Colson 2010-10-31 13:51:52 Re: large xml database
Previous Message Alexander Farber 2010-10-31 10:46:22 Re: Implementing replace function