Re: [ADMIN] problems logging in through phpPgAdmin

2011-09-26 Thread John DeSoi
[3]['pg_dumpall_path'] = '/usr/bin/pg_dumpall'; > Not sure if that is what your question refers to... > I was referring to the "host" setting. If you get the password fixed where it works with psql and it still does not work with phpPgAdmin, try changing the host setting to 127.0.0.1. John DeSoi, Ph.D. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] problems logging in through phpPgAdmin

2011-09-26 Thread John DeSoi
it is not 127.0.0.1, you might need to use the explicit IP address in your pg_hba.conf. Best, John DeSoi, Ph.D. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] problems logging in through phpPgAdmin

2011-09-26 Thread John DeSoi
you changed "trust" to "md5" host or local? I think phpPgAdmin uses only host connections. John DeSoi, Ph.D. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [GENERAL] [ADMIN] Using Postgresql as application server

2011-08-16 Thread John DeSoi
d talk directly to Postgres from the browser: http://ajaxian.com/archives/tcpsocket-sockets-in-the-browser http://www.postgresql.org/docs/9.0/interactive/protocol.html I'm not saying this is the right approach, but if that is what you are really after... John DeSoi, Ph.D. -- Sent

Re: [ADMIN] Postgres Backup Utility

2011-01-20 Thread John DeSoi
hen you want to apply the changes to your production database? John DeSoi, Ph.D. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] Getting::message type 0x43 arrived from server while idle

2009-12-30 Thread John DeSoi
ibpq library for querying database. > I am having two different processes accessing the same database. Are you using a different connection for each process? John DeSoi, Ph.D. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http:/

Re: [ADMIN] UUID generation functions

2008-06-02 Thread John DeSoi
options where it would be huge code bloat to include sufficient alternatives? John DeSoi, Ph.D. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] phpPgAdmin

2007-07-27 Thread John DeSoi
You might also try setting the logging to the highest level and then generate your diagrams with ADS. Check to see if there are errors or any differences in the SQL statements executed. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(e

Re: [ADMIN] deinstallation - reinstallation on Mac OS 10.4

2007-07-20 Thread John DeSoi
p; / usr/bin/tar xf - ) /usr/bin/tar: index.html: Cannot open: File exists / Why not just move (or delete) the existing PostgreSQL directory before make install? If you want to check out what is already there, start Terminal and type: open /usr/local/pgsql John DeSoi, Ph.D. http://pged

Re: [ADMIN] alter sequence in a function

2007-07-04 Thread John DeSoi
. Change newvalue to text and cast it from an integer, if necessary. Then you want: execute 'ALTER sequence safeopencloseoperation_id_seq restart with ' || newvalue ; John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of b

Re: [ADMIN] initdb problem

2007-06-21 Thread John DeSoi
down another path when you are close, you might want to look at this distribution and instructions: http://www.entropy.ch/software/macosx/postgresql/ If you still don't have initdb working, you might want to rename your postgres user and create a new one as described in these instru

Re: [ADMIN] problems installing postgresql 8.0 on Mac OS

2007-06-11 Thread John DeSoi
QL8/data -l /Library/PostgreSQL8/log/PostgreSQL8.log -o -i' Is there a valid cluster created in /Library/PostgreSQL8/data? You should also be able find what went wrong by looking in the PostgreSQL log file which is the path specified by -l above. John DeSoi, Ph.D. http://pgedit.com/ P

Re: [ADMIN] problems installing postgresql 8.0 on Mac OS

2007-06-11 Thread John DeSoi
rge.net/project/showfiles.php? group_id=133151&package_id=147282 John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [ADMIN] problems installing postgresql 8.0 on Mac OS

2007-06-11 Thread John DeSoi
eforge project admins for help on their list or forum. They just put out a new version, so I'm sure they would be interested to know if there are problems. John John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)-

Re: [ADMIN] problems installing postgresql 8.0 on Mac OS 10.3.9

2007-06-07 Thread John DeSoi
admin tools: http://sourceforge.net/projects/pgsqlformac/ It appears to have been updated recently with the latest version of PostgreSQL. John John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 4

Re: [ADMIN] Can I restrict backups?

2007-05-23 Thread John DeSoi
large amounts of data. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [ADMIN] Revoking usage of pg_catalog

2007-05-09 Thread John DeSoi
ee the issue if users don't connect directly to the database, only through your web application. You then have complete control over any query executed. You should not have to worry about SQL injection if you use prepared queries and stored procedures. John DeSoi, Ph.D. http://pgedit.

Re: [ADMIN] Embedded App and User Authentication

2006-08-31 Thread John DeSoi
Jeffrey J. Early wrote: Picking up a database cluster and moving it from system to system *does* seem to work without a hitch as long as the username is the same on each system. So it seems to me there has to be a fairly simple solution to make this work. John DeSoi, Ph.D. http://

Re: [ADMIN] Inserting a timed delay in a pl/pgsql procedure

2006-08-18 Thread John DeSoi
changing time value, but any looping you do in plpgsql will eat a lot of CPU cycles. The only other solution I recall was to use a different pl language like perl which has a proper sleep function. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL

Re: [ADMIN] Other Characterset to UTF8

2006-07-20 Thread John DeSoi
, it is correct assuming the data in the file is really latin1 :). You tell PostgreSQL what character set you are using on the client side and it takes care of converting it to the encoding used for the database. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL

Re: [ADMIN] is there any dataware housing tools for postgresql

2006-07-18 Thread John DeSoi
On Jul 19, 2006, at 12:21 AM, vamsee movva wrote: could you please tell me if there are any dataware housing tools for postgresql http://www.greenplum.com/products/bizgresMpp.php John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of

Re: [ADMIN] How to get rid of unicode

2006-07-10 Thread John DeSoi
thread for some ideas and solutions. http://archives.postgresql.org/pgsql-general/2006-05/msg01457.php It would be nice to have a built-in function to make a best effort character conversion rather than generating errors. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL

Re: [ADMIN] bad dump

2006-05-02 Thread John DeSoi
actly what the error is. Show the commands you used to dump and restore and include the exact error output from the restore operation. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 5: don'

Re: [ADMIN] bad dump

2006-05-02 Thread John DeSoi
been dumping and rebuilding for the last 6 years (pg version 7). I would have concerns about going from a newer version to an older version (the other way around is less problematic). But you gave no clues about specific errors or the format of the dump you are trying to load. John

pgsql-admin@postgresql.org

2006-04-26 Thread John DeSoi
, you need to look at your client setup especially encoding issues. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe

Re: [ADMIN] Invalid UTF8 & Large Objects

2006-04-25 Thread John DeSoi
jects. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [ADMIN] Schema synchronization

2006-04-19 Thread John DeSoi
very different. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [ADMIN] auto vacuuming

2006-04-03 Thread John DeSoi
My reason for wanting to turn it off is that every time it would run the fans on my development system would rev up. Very annoying in a quiet environment where you are working on throw away tests that don't need to eat CPU for vacuuming. John DeSoi, Ph.D. http://pge

Re: [ADMIN] Character encoding problems and dump import

2006-03-20 Thread John DeSoi
hing else. inconv might be able to help you fix encoding problems http://www.gnu.org/software/libiconv/documentation/libiconv/iconv.1.html John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 4: Have you searched

Re: [ADMIN] Need help in installing postgresql 8.1.2 on Windows

2006-01-20 Thread John DeSoi
bottom of the page (and in the readme file) has links for step-by-step instructions and frequently asked questions. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 5: don't forget to increase

Re: [ADMIN] New install - can't access pgsql

2006-01-05 Thread John DeSoi
pg_hba.conf entries and the exact psql connect command/error. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail

Re: [ADMIN] Connect to PostgreSQL server from an ADSL connection

2006-01-01 Thread John DeSoi
ddress changes. I would also like to see DNS names supported in pb_hba.conf. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [ADMIN] manage backup on a Window XP

2005-09-12 Thread John DeSoi
On Sep 9, 2005, at 2:06 PM, [EMAIL PROTECTED] wrote: Hi, how can I run a pg_dump from window Xp without ask me the password so I can scheduling my database backup? Thx! http://www.postgresql.org/docs/8.0/interactive/libpq-pgpass.html John DeSoi, Ph.D. http://pgedit.com/ Power Tools for

Re: [ADMIN] Password and batch process

2005-08-26 Thread John DeSoi
/8.0/interactive/libpq-pgpass.html John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org

Re: [ADMIN] sleep?

2005-08-21 Thread John DeSoi
fficient wastes CPU cycles busy looping. I use the version below for some simple testing, but it is not useful for a production system. It would be nice to have a sleep function that does not require anything beyond plpgsql. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreS

Re: [ADMIN] REVOKE from all tables ...

2005-08-09 Thread John DeSoi
it'd be nice to have some functions in core that did the same thing; or maybe some ability in psql to do it. Also, there are some pl/pgsql functions available from here which will GRANT/REVOKE on all tables: http://pgedit.com/node/20 John DeSoi, Ph.D. http://pgedit.c

Re: [ADMIN] Adding Serial Type

2005-05-28 Thread John DeSoi
columns as primary key also provides metadata about the design of the schema, as a primary key implies that other tables may rely on this set of columns as a unique identifier for rows. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of

Re: [ADMIN] database A to database B

2005-05-18 Thread John DeSoi
On May 18, 2005, at 9:27 AM, Ing. Jhon Carrillo wrote: I need to transfer the database/server A to database/server B through the some command directly. pg_dumpall might be what you are looking for. http://www.postgresql.org/docs/8.0/interactive/app-pg-dumpall.html John DeSoi, Ph.D. http

Re: [ADMIN] Database syncronization

2005-04-20 Thread John DeSoi
master. Any suggestion ? A few options - Free: http://gborg.postgresql.org/project/slony1/projdisplay.php Commercial: http://www.commandprompt.com/products/mammothreplicator/ John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast

Re: [ADMIN] Missing commands

2005-04-19 Thread John DeSoi
. every time I try to use: pg_passwd or alter user I get the following message: command not found createdb and createuser are command line utilities. For executing other SQL commands such as "ALTER USER" you want to use psql. Look in the documentation index under "psql" for d

Re: [ADMIN] file system backup of postgresql db onto another installation

2005-04-18 Thread John DeSoi
service.   Look in the pg_log folder inside your data directory. The latest log file might give a better clue as to why the database server won't start. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--

Re: [ADMIN] PostgreSQL replication solution?

2005-04-12 Thread John DeSoi
Slony: http://www.onlamp.com/pub/a/onlamp/2004/11/18/slony.html John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [ADMIN] PostgreSQL 8.0 installation on Windows XP installation

2005-04-10 Thread John DeSoi
teractive/postmaster-start.html I have not installed this way, but maybe there is (or should be) a script in the Start menu group to do this? John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [ADMIN] Automatic Backups

2005-04-10 Thread John DeSoi
backup databases of the correct version. One idea is to use "pg_ctl.exe status" to determine if the server associated with the registry entry is running. I think you'll also need to specify the data directory with this command, so hopefully that is in the registry also. John De

Re: [ADMIN] Automatic Backups

2005-04-08 Thread John DeSoi
, you might want to take a look at the installer source file (a Wix xml document) for the exact registry setup. http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pginstaller/ John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broa

Re: [ADMIN] problems with user rights

2005-03-30 Thread John DeSoi
a way to directly query the database. There are may companies providing shared hosting. I'm not aware of any security issues. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 2: you can get off al

Re: [ADMIN] problems with user rights

2005-03-30 Thread John DeSoi
ght way to add a user ? am i wrong ? i dont want to let my new user view the others databases on the server. Viewing the information in the system catalogs is open to all users. There is not a way to hide it unless you build an interface on top of PostgreSQL that limits the queries the user can exec

Re: [ADMIN] PostgreSQL: ´GRANT ALL TO PUBLIC´ ?

2005-03-28 Thread John DeSoi
On Mar 22, 2005, at 12:19 PM, Dr. Roger Wießner wrote: Is there an easy way to ´GRANT ALL TO PUBLIC´? It is very tedious to write all the necessary grant-statements... You can find some functions to do this at http://pgedit.com/node/view/20 John DeSoi, Ph.D. http://pgedit.com/ Power Tools for

Re: [ADMIN] Admin tools with the ability to alter a field type?

2005-03-24 Thread John DeSoi
. But I did not understand that syntax well enough from the response. Any one do this in 8 (I am on 8.01) or no of a gui tool? phpPgAdmin has an interface for altering column types. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast

Re: [ADMIN] HELP HELP HELP !!!!

2005-03-22 Thread John DeSoi
n see the problem. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your messag

Re: [ADMIN] Multiple languages in one database

2005-03-19 Thread John DeSoi
unicode character. See http://www.unicode.org/ and http://www.unicode.org/faq/utf_bom.html. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate

Re: [ADMIN] fulltext search

2005-03-17 Thread John DeSoi
you started: http://www.devx.com/opensource/Article/21674 John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [ADMIN] FYI: Interview with Josh Berkus at Mad Penguin

2005-03-16 Thread John DeSoi
On Mar 16, 2005, at 8:09 AM, Wes Williams wrote: phpPgAdmin was as exhaustive as phpMyAdmin, more users might be FIRST inclined to start with Postgres I'm not familiar with phpMyAdmin. Could you give a few examples of things it has that phpPgAdmin is lacking? Thanks, John DeSoi, Ph.D.

Re: [ADMIN] Restoring a Dump with psql on Windows Fails - Password Cannot Be Entered (?)

2005-03-11 Thread John DeSoi
mme\PostgreSQL\8.0\bin\phprvitadb200503082100.dump -U gsc phprvitadb John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [ADMIN] How to enable automatic md5 password prompting when connecting to PostgreSQL

2005-03-11 Thread John DeSoi
ough the Sys V init scripts as stated in the PostgreSQL INSTALL file that came with the source code. Restarting the machine is just fine. But in cases where you want to keep the database operational and have configuration file changes take effect, you signal the postmaster process. You can use the

Re: [ADMIN] How to enable automatic md5 password prompting when connecting to PostgreSQL

2005-03-11 Thread John DeSoi
md5 After changing this be sure to signal or restart PostgreSQL. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [ADMIN] readline ?

2005-03-09 Thread John DeSoi
On Mar 9, 2005, at 4:24 PM, Scott Marlowe wrote: assuming you're on an rpm based system, look for the readline-devel rpm package and install it. Same a go for a few other packages, like zlib-devel. And if not and you don't need readline just use ./configure --without-readline John D

Re: [ADMIN] Postgres schema comparison.

2005-03-07 Thread John DeSoi
if you startup psql with the -E option it will show you all the SQL it is using to run the \d command. It should be fairly easy to get the strings you need from the results of running a similar query. The psql source is a good place to look also. John DeSoi, Ph.D. http://pgedit.com/ Power Tools

Re: [ADMIN] Postgres schema comparison.

2005-03-07 Thread John DeSoi
you can use to determine if there is a mismatch. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [ADMIN] Automatic database backup on Windows Machine

2005-03-02 Thread John DeSoi
y sees the service a/c). Even if it did i think there might be issues when it prompts for a password. I am logged into my machine as my Windows user name. The password issue can be resolved with the pgpass file: http://www.postgresql.org/docs/8.0/interactive/libpq-pgpass.html John DeSoi,

Re: [ADMIN] How to: Set up a multi-session PostgreSQL Server on a Mac OS X (10.3.8)?

2005-02-27 Thread John DeSoi
ql.org/docs/8.0/interactive/installation.html John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [ADMIN] Access Permissions to Users

2005-02-20 Thread John DeSoi
set of users. http://www.postgresql.org/docs/8.0/interactive/sql-creategroup.html The GRANT command is used to give permissions for specific operations to users and/or groups. http://www.postgresql.org/docs/8.0/interactive/sql-grant.html John DeSoi, Ph.D. http://pgedit.com/ Power Tools for Postgr

Re: [ADMIN] Win32 Postgresql Command Line Password Specification

2005-02-08 Thread John DeSoi
also a PGPASSWORD environment variable, but this is depreciated for security reasons. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [ADMIN] Running sql files

2004-12-10 Thread John DeSoi
sults if any problems arise. $psql -o myoutput dbname < sqlfile See the psql section in the manual for more options to control the output. Best, John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---(end of broadcast)--- TIP 9: the p

Re: [ADMIN] psql won't "createdb"

2004-10-31 Thread John DeSoi
nd prompt (not the psql prompt). Apologies if you know all this and I have just misunderstood your description of the problem. Post the error output from createdb if you still can't get it to work. Best, John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL -