PostgreSQL

Ok so since I see a lot of people worshipping it I though We’d investigate. While having a review of the psql I noticed there’s no function to start using a certain database, or as a minimum not simiar to help MySQL anyway, any ideas what it is

You specify it within the connection string to be able to phpfunctionpg_connect/phpfunction. For illustration:

PHP:


$handle 
pg_connect("host=localhost  user=somebody  password=password  dbname=database");


I became refering to smoking ‘psql’ to postgred as opposed to through php, might have known it would you that replied

Oh. It’s a command-line argument once you begin it. Type typethispsql –help/typethis.

Once you’re actually into the psql client, it’s nothing like the MySQL consumer. It’s not truly better nor a whole lot worse, just different.

another question just what module dlls must i need to place in php

Have no idea of; I only apply PHP on Linux in addition to FreeBSD. I believe it’s just referred to as php_pgsql. dll.

yea ive taken away the semi colon from in front of the extension=php_pgsql. dll and POST read here and it also says I really need to run the initdb order, I have accomplished this and got this particular output

Code:
DEBUG: identify: unnamed; blockState: GOING; state: INPROGR, xid/subid/cid:
1/1/1, nestlvl: A SINGLE, children: < >
DEBUG: pay out transaction
DEBUG: StartTransaction
DEBUG: identify: unnamed; blockState: DEFAULT; express: INPROGR, xid/subid/cid:
1/1/0, nestlvl: A SINGLE, children: < >
DEBUG: get started transaction
DEBUG: CommitTransaction
DEBUG: identify: unnamed; blockState: GOING; state: INPROGR, xid/subid/cid:
1/1/1, nestlvl: A SINGLE, children: < >
DEBUG: pay out transaction
DEBUG: StartTransaction
DEBUG: identify: unnamed; blockState: DEFAULT; express: INPROGR, xid/subid/cid:
1/1/0, nestlvl: A SINGLE, children: < >
DEBUG: get started transaction
DEBUG: CommitTransaction
DEBUG: identify: unnamed; blockState: GOING; state: INPROGR, xid/subid/cid:
1/1/1, nestlvl: A SINGLE, children: < >
DEBUG: pay out transaction
DEBUG: StartTransaction
DEBUG: identify: unnamed; blockState: DEFAULT; express: INPROGR, xid/subid/cid:
1/1/0, nestlvl: A SINGLE, children: < >
DEBUG: get started transaction
DEBUG: CommitTransaction
DEBUG: identify: unnamed; blockState: GOING; state: INPROGR, xid/subid/cid:
1/1/1, nestlvl: A SINGLE, children: < >
DEBUG: pay out transaction
DEBUG: StartTransaction
DEBUG: identify: unnamed; blockState: DEFAULT; express: INPROGR, xid/subid/cid:
1/1/0, nestlvl: A SINGLE, children: < >
DEBUG: get started transaction
DEBUG: CommitTransaction
DEBUG: identify: unnamed; blockState: GOING; state: INPROGR, xid/subid/cid:
1/1/1, nestlvl: A SINGLE, children: < >
DEBUG: pay out transaction
DEBUG: StartTransaction
DEBUG: identify: unnamed; blockState: DEFAULT; express: INPROGR, xid/subid/cid:
1/1/0, nestlvl: A SINGLE, children: < >
DEBUG: get started transaction
DEBUG: CommitTransaction
DEBUG: identify: unnamed; blockState: GOING; state: INPROGR, xid/subid/cid:
1/1/1, nestlvl: A SINGLE, children: < >
DEBUG: pay out transaction
DEBUG: StartTransaction
DEBUG: identify: unnamed; blockState: DEFAULT; express: INPROGR, xid/subid/cid:
1/1/0, nestlvl: A SINGLE, children: < >
DEBUG: get started transaction
DEBUG: CommitTransaction
DEBUG: identify: unnamed; blockState: GOING; state: INPROGR, xid/subid/cid:
1/1/1, nestlvl: A SINGLE, children: < >
DEBUG: pay out transaction
DEBUG: StartTransaction
DEBUG: identify: unnamed; blockState: DEFAULT; express: INPROGR, xid/subid/cid:
1/1/0, nestlvl: A SINGLE, children: < >
DEBUG: get started transaction
DEBUG: CommitTransaction
DEBUG: identify: unnamed; blockState: GOING; state: INPROGR, xid/subid/cid:
1/1/1, nestlvl: A SINGLE, children: < >
DEBUG: pay out transaction
DEBUG: StartTransaction
DEBUG: identify: unnamed; blockState: DEFAULT; express: INPROGR, xid/subid/cid:
1/1/0, nestlvl: A SINGLE, children: < >
DEBUG: get started transaction
DEBUG: CommitTransaction
DEBUG: identify: unnamed; blockState: GOING; state: INPROGR, xid/subid/cid:
1/1/1, nestlvl: A SINGLE, children: < >
DEBUG: pay out transaction
DEBUG: StartTransaction
DEBUG: identify: unnamed; blockState: DEFAULT; express: INPROGR, xid/subid/cid:
1/1/0, nestlvl: A SINGLE, children: < >
DEBUG: get started transaction
DEBUG: CommitTransaction
DEBUG: identify: unnamed; blockState: GOING; state: INPROGR, xid/subid/cid:
1/1/1, nestlvl: A SINGLE, children: < >
DEBUG: pay out transaction
DEBUG: StartTransaction
DEBUG: identify: unnamed; blockState: DEFAULT; express: INPROGR, xid/subid/cid:
1/1/0, nestlvl: A SINGLE, children: < >
DEBUG: get started transaction
DEBUG: CommitTransaction
DEBUG: identify: unnamed; blockState: GOING; state: INPROGR, xid/subid/cid:
1/1/1, nestlvl: A SINGLE, children: < >
DEBUG: pay out transaction
DEBUG: StartTransaction
DEBUG: identify: unnamed; blockState: DEFAULT; express: INPROGR, xid/subid/cid:
1/1/0, nestlvl: A SINGLE, children: < >
DEBUG: get started transaction
DEBUG: CommitTransaction
DEBUG: identify: unnamed; blockState: GOING; state: INPROGR, xid/subid/cid:
1/1/1, nestlvl: A SINGLE, children: < >
DEBUG: pay out transaction
DEBUG: StartTransaction
DEBUG: identify: unnamed; blockState: DEFAULT; express: INPROGR, xid/subid/cid:
1/1/0, nestlvl: A SINGLE, children: < >
DEBUG: get started transaction
DEBUG: CommitTransaction
DEBUG: identify: unnamed; blockState: GOING; state: INPROGR, xid/subid/cid:
1/1/1, nestlvl: A SINGLE, children: < >
DEBUG: pay out transaction
DEBUG: StartTransaction
DEBUG: identify: unnamed; blockState: DEFAULT; express: INPROGR, xid/subid/cid:
1/1/0, nestlvl: A SINGLE, children: < >
DEBUG: get started transaction
DEBUG: CommitTransaction
DEBUG: identify: unnamed; blockState: GOING; state: INPROGR, xid/subid/cid:
1/1/1, nestlvl: A SINGLE, children: < >
DEBUG: pay out transaction
DEBUG: StartTransaction
DEBUG: identify: unnamed; blockState: DEFAULT; express: INPROGR, xid/subid/cid:
1/1/0, nestlvl: A SINGLE, children: < >
DEBUG: get started transaction
DEBUG: CommitTransaction
DEBUG: identify: unnamed; blockState: GOING; state: INPROGR, xid/subid/cid:
1/1/1, nestlvl: A SINGLE, children: < >
DEBUG: pay out transaction
DEBUG: StartTransaction
DEBUG: identify: unnamed; blockState: DEFAULT; express: INPROGR, xid/su

This entry was posted in Web Design and tagged , , , , , , , , , , , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *