pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tony Capobianco <tcapobianco@prospectiv.com>
To: pgsql-sql@postgresql.org
Subject: create role
Date: Thu, 30 Dec 2010 17:14:23 -0500
Message-ID: <1293747263.1650.7.camel@tony1.localdomain> (raw)

Hi,
I'm successfully executing the below:

create role developer login;
alter role developer set default_tablespace=dev;
alter role developer set search_path=dev,staging, esave, support, email,
public;

grant select on members to developer;
grant create on schema dev to developer;

However, when I do this:
psql (8.4.5, server 8.4.2)
Type "help" for help.

esave_dw=> \d members
Did not find any relation named "members".
esave_dw=> 
esave_dw=> \d esave.members
                     Table "esave.members"
       Column        |            Type             | Modifiers 
---------------------+-----------------------------+-----------
 memberid            | numeric                     | not null
 etc....

How can I get this so I don't have to preface the \d with the schema
name every time?  

Thanks.
Tony





view thread (5+ messages)  latest in thread

Message-ID: <1293747263.1650.7.camel@tony1.localdomain>
Permalink:  ../1293747263.1650.7.camel@tony1.localdomain/
Also on:    postgresql.org/message-id/1293747263.1650.7.camel@tony1.localdomain

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tcapobianco@prospectiv.com
  Subject: Re: create role
  In-Reply-To: <1293747263.1650.7.camel@tony1.localdomain>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox