Changeset 1266 for trunk/README
- Timestamp:
- 07/13/07 05:08:26 (3 years ago)
- Files:
-
- trunk/README (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/README
r1260 r1266 149 149 PGPORT (PostgreSQL port to connect to; default is 5432) 150 150 PGUSER (your PostgreSQL user ID; defaults to your login name) 151 PGPASSWORD (your PostgreSQL password, if needed) 151 152 152 153 Further environment variables that may be of use to you are documented in the 153 154 libpq documentation and in the manpage for Postgres' command-line client, psql. 154 155 156 Setting environment variables works differently depending on your shell, but 157 try (preferably in this order): 158 export VARIABLE=value 159 or 160 VARIABLE=value 161 export VARIABLE 162 or 163 set VARIABLE=value 164 165 Try printing the variable afterwards to make sure. The command is normally 166 echo $VARIABLE 167 and, if you set the variable successfully, should print the value you assigned. 168 It will print nothing if you failed to set the variable. 169 155 170 Should you have trouble finding the socket for a database running locally on a 156 Unix socket, try locating the socket in the filesystem. Thisshould appear as a171 Unix socket, try locating the socket in the filesystem. It should appear as a 157 172 "file" called .s.PGSQL.5432 (if you are new to Unix-like systems, be warned that 158 173 files whose name start with a dot are not displayed by default). Set PGHOST to
