The trouble with search_path ... - Mailing list pgadmin-hackers

From Chris Gamache
Subject The trouble with search_path ...
Date
Msg-id 20040610182057.21913.qmail@web13807.mail.yahoo.com
Whole thread Raw
Responses Re: The trouble with search_path ...
List 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/

pgadmin-hackers by date:

Previous
From: "Adam H. Pendleton"
Date:
Subject: Re: pgAdmin3 doesn't work after upgrading FC1 to
Next
From: Andreas Pflug
Date:
Subject: Re: The trouble with search_path ...