pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-php@postgresql.org
Subject: Re: Connecting PHP-based Application to Postgres-9.0.3
Date: Thu, 7 Apr 2011 09:35:18 -0700 (PDT)
Message-ID: <alpine.LNX.2.00.1104070933460.397@salmo.appl-ecosys.com> (raw)
In-Reply-To: <201104070920.37258@hal.medialogik.com>
References: <alpine.LNX.2.00.1104070900530.397@salmo.appl-ecosys.com>
	<201104070920.37258@hal.medialogik.com>

On Thu, 7 Apr 2011, Alan Hodgson wrote:

> Can you connect to the database with psql using the same credentials?  PHP
> will use the same underlying postgresql library to connect.

Alan,

   If you mean can I as a user connect to that same database, the answer is
yes:

[rshepard@salmo ~]$ psql cms
psql (9.0.3)
Type "help" for help.

cms=# \d
                         List of relations
  Schema |               Name                |   Type   |  Owner 
--------+-----------------------------------+----------+----------
  public | cms_additional_htmlblob_users     | table    | rshepard
  public | cms_additional_htmlblob_users_seq | sequence | rshepard
  public | cms_additional_users              | table    | rshepard
  public | cms_additional_users_seq          | sequence | rshepard
  public | cms_admin_bookmarks               | table    | rshepard
  public | cms_admin_bookmarks_seq           | sequence | rshepard
  public | cms_admin_recent_pages            | table    | rshepard
  public | cms_admin_recent_pages_seq        | sequence | rshepard
  public | cms_adminlog                      | table    | rshepard
  public | cms_content                       | table    | rshepard
  public | cms_content_props                 | table    | rshepard
  public | cms_content_props_seq             | sequence | rshepard
  public | cms_content_seq                   | sequence | rshepard
  public | cms_crossref                      | table    | rshepard
  public | cms_css                           | table    | rshepard
  public | cms_css_assoc                     | table    | rshepard
  public | cms_css_seq                       | sequence | rshepard

   etc.

   So, what can I do here?

Rich



view thread (42+ messages)  latest in thread

Message-ID: <alpine.LNX.2.00.1104070933460.397@salmo.appl-ecosys.com>
Permalink:  ../alpine.LNX.2.00.1104070933460.397@salmo.appl-ecosys.com/
Also on:    postgresql.org/message-id/alpine.LNX.2.00.1104070933460.397@salmo.appl-ecosys.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: rshepard@appl-ecosys.com
  Subject: Re: Connecting PHP-based Application to Postgres-9.0.3
  In-Reply-To: <alpine.LNX.2.00.1104070933460.397@salmo.appl-ecosys.com>
  References: <alpine.LNX.2.00.1104070900530.397@salmo.appl-ecosys.com> <201104070920.37258@hal.medialogik.com> <alpine.LNX.2.00.1104070933460.397@salmo.appl-ecosys.com>

* 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