The trouble with search_path ...

From: Chris Gamache <cgg007(at)yahoo(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: The trouble with search_path ...
Date: 2004-06-10 18:20:57
Message-ID: 20040610182057.21913.qmail@web13807.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Please try to reproduce this bug:

Select properties on a database element.
Click to the Variables tab
Select "search_path" from the drop-down
Set the Variable value textfield to "public, pgcatalog, my_schema"
Click OK.

in the description pane you'll find:

-- Database: data

-- DROP DATABASE data;

CREATE DATABASE data
WITH ENCODING = 'SQL_ASCII';
ALTER DATABASE data SET "search_path=public,;
ALTER DATABASE data SET pg_catalog,;
ALTER DATABASE data SET my_schema";

Somehow I don't think that's the right syntax... Since I've done this, how can
I undo it?

ALTER DATABASE RESET "search_path=public,;
ALTER DATABASE data SET pg_catalog,;
ALTER DATABASE data SET my_schema";

?

CG



__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Andreas Pflug 2004-06-10 20:22:56 Re: The trouble with search_path ...
Previous Message Adam H. Pendleton 2004-06-10 18:07:42 Re: pgAdmin3 doesn't work after upgrading FC1 to