Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

Next:From: Andy ColsonDate: 2010-10-31 13:51:52
Subject: Re: large xml database
Previous:From: Alexander FarberDate: 2010-10-31 10:46:22
Subject: Re: Implementing replace function

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group