Re: Connecting PHP-based Application to Postgres-9.0.3 - Mailing list pgsql-php

From Rich Shepard
Subject Re: Connecting PHP-based Application to Postgres-9.0.3
Date
Msg-id alpine.LNX.2.00.1104070933460.397@salmo.appl-ecosys.com
Whole thread Raw
In response to Re: Connecting PHP-based Application to Postgres-9.0.3  (Alan Hodgson <ahodgson@simkin.ca>)
Responses Re: Connecting PHP-based Application to Postgres-9.0.3  (Alan Hodgson <ahodgson@simkin.ca>)
Re: Connecting PHP-based Application to Postgres-9.0.3  (Bill Moran <wmoran@potentialtech.com>)
List pgsql-php
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

pgsql-php by date:

Previous
From: Alan Hodgson
Date:
Subject: Re: Connecting PHP-based Application to Postgres-9.0.3
Next
From: Alan Hodgson
Date:
Subject: Re: Connecting PHP-based Application to Postgres-9.0.3