Unix Technical Forum

pgadmin option enhancement request

This is a discussion on pgadmin option enhancement request within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> Hello, I find myself needing the ability to edit a record from within an environment where a particular schema ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 07:12 PM
Dick Wieland
 
Posts: n/a
Default pgadmin option enhancement request

Hello,

I find myself needing the ability to edit a record from within an
environment where a particular
schema is at the head of " defined searchpath" ( e.g., set
searchpath=xxx01 in psql, etc.) . The reason is
that I have a trigger on the table in question that assumes a particular
search path rather than specifying an explicit schema qualification in
front of the table name. Without that search path, the ensuing SQL
throws an error because the engine can't find the table in the default
search path that is used by pgadmin.

Please consider the ability to define a search path for the pgadmin
session as an additional option in your fileptions:general section.

Thanks,
Dick Wieland

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 07:12 PM
Dave Page
 
Posts: n/a
Default Re: pgadmin option enhancement request



> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailtogadmin-hackers-owner@postgresql.org] On Behalf Of
> Dick Wieland
> Sent: 18 July 2006 17:06
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] pgadmin option enhancement request
>
> Hello,
>
> I find myself needing the ability to edit a record from within an
> environment where a particular
> schema is at the head of " defined searchpath" ( e.g., set
> searchpath=xxx01 in psql, etc.) . The reason is
> that I have a trigger on the table in question that assumes a
> particular
> search path rather than specifying an explicit schema
> qualification in
> front of the table name. Without that search path, the ensuing SQL
> throws an error because the engine can't find the table in
> the default
> search path that is used by pgadmin.
>
> Please consider the ability to define a search path for the pgadmin
> session as an additional option in your fileptions:general section.


Search path is not something that can be sensibly set in pgAdmin because
it's a per database setting, and the only database pgAdmin ever knows
about is the maintenance DB.

We only ever set it when upgrading Slony clusters though, so you might
be able to get the desired result by adding a search_path variable to
either your database or login role (user) object.

Regards, Dave.

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:03 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com