DROP FUNCTION IF EXISTS - Mailing list pgsql-hackers

From Teodor Sigaev
Subject DROP FUNCTION IF EXISTS
Date
Msg-id 4517CBF9.3060300@sigaev.ru
Whole thread Raw
Responses Re: DROP FUNCTION IF EXISTS  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-hackers

Linux:

$ echo 'DROP FUNCTION if exists foo(int);' | psql 1c
Timing is on.
SET
Time: 197.941 ms
NOTICE:  function foo(░) does not exist ... skipping
ERROR:  invalid byte sequence for encoding "UTF8": 0x90
HINT:  This error can also happen if the byte sequence does not match the 
encoding expected by the server, which is controlled by "client_encoding".
ERROR:  invalid byte sequence for encoding "UTF8": 0x90
HINT:  This error can also happen if the byte sequence does not match the 
encoding expected by the server, which is controlled by "client_encoding".


FreeBSD:
% echo 'DROP FUNCTION if exists foo(int);' | psql wow
SET
NOTICE:  function foo(%


Looks like uninitialized pointer...


-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 


pgsql-hackers by date:

Previous
From: Markus Schaber
Date:
Subject: Re: DELETE RETURNING
Next
From: "Magnus Hagander"
Date:
Subject: Re: DROP FUNCTION IF EXISTS