[pgadmin-support] Incorrect help shown when server is not responding

2006-07-28 Thread Christopher Kings-Lynne
If you attempt to connect to a PostgreSQL server that doesn't respond, you get a popup dialog with: pgAdmin III Guru Hint - Server not listening As the window title. However, the actual help page it displays is all about Primary Keys. ---(end of broadcast)--

Re: [pgadmin-support] Bug with passwords that include apostrophes

2006-06-16 Thread Christopher Kings-Lynne
Latest bundled with what? That bug was fixed already: 2006-02-17 DP 1.4.2 Properly escape single quotes in connection strings. Ah bummer. Turns out I had 1.4.0... Chris ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

[pgadmin-support] Bug with passwords that include apostrophes

2006-06-16 Thread Christopher Kings-Lynne
pgAdmin version: latest bundled OS: Windows XP Description --- Attempting to log into a database with pgAdmin using a password that contains the apostrophe (') character causes this error: "An error has occurred. Error connecting to the server: missing "=" after "asdf" in connection

Re: [pgadmin-support] Error message with vacuumed databases

2004-07-20 Thread Christopher Kings-Lynne
"ERROR: variable not found in subplan target lists" After to accept that message I can work without problems with the database. This error happens only once, the first time when I open the database. This error doesn't appear with databases without a vacuum process seted up. This is the information

Re: [pgadmin-support] pgsql db

2004-07-02 Thread Christopher Kings-Lynne
In what way is it corrupted? Please give us all error messages and stuff logged by PostgreSQL. I suggest joining the irc.freenode.org IRC server and joining the #postgresql channel if you want real time help. Chris Ramesh Yeligar wrote: Hi, We are using PGSQL for retail business server. Yester

[pgadmin-support] unsubscribe

2004-06-13 Thread Christopher Kings-Lynne
---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [pgadmin-support] Copy between Databases

2004-05-27 Thread Christopher Kings-Lynne
Is there a way to implement the pg_dump from within pgAdminIII? If so, how? Of course, all you need is a C++ compiler and some spare time :-) You could code a graphical frontend for pg_dump/pg_restore, which is on the pgadmin3 TODO list anyway. Just do what we do with phpPgAdmin - we just ope

Re: [pgadmin-support] varchar[] !?

2004-05-10 Thread Christopher Kings-Lynne
When I try to create a new column with the varchar datatype I obtain a "varchar[]" type, and I cannot specify the max limit. What is the problem? You are going VARCHAR[n] instead of the correct VARCHAR(n) Chris ---(end of broadcast)--- TIP 8: expl

Re: [pgadmin-support] inserting new records without OIDs

2004-02-18 Thread Christopher Kings-Lynne
Shhh, didn't think of that. So we won't ever accept unique indices for this. What we do in phpPgAdmin is that rows with NULL values in the unique key simply aren't editable - all other rows are though. In order, we prefer to use a PK (since it is indexed), then oid column (since it is complete)

Re: [pgadmin-support] inserting new records without OIDs

2004-02-17 Thread Christopher Kings-Lynne
Not true. Currently, you need either OID *or* a primary key. Obviously, that id column should get a pk. We'll extend the grid some time, to accept any other unique keys also. Still, defining a PK on every table is best practice. Defining a column as serial does *not* guarantee it's unique! Rememb

Re: [pgadmin-support] Indexes generated for primary key are not show

2004-02-12 Thread Christopher Kings-Lynne
In phpPgAdmin, we list them separately as well, however it did require some thinking. In the end I decided to display things in the way the SQL spec lays them out. All constraints together, etc. And do you display indexes which are automatically generated by PRIMARY KEY constraint? No. The ind

Re: [pgadmin-support] Indexes generated for primary key are not show

2004-02-11 Thread Christopher Kings-Lynne
I can't completely agree with you. I use only PostgreSQL, but I used to help my colleague working with Oracle (he was a novice), and I looked at his result of EXPLAIN (it was different from what PostgreSQL gives, but quite clear). I am not sure that in every database engine PRIMARY KEY constraint i

Re: [pgadmin-support] PG Admin III

2004-02-10 Thread Christopher Kings-Lynne
Hello, I am having problems connecting to my PG server from PG Admin III ver 1.02 on a remote PC. I am getting an error saying that PG must be version > than 7.3. Is there a way to bypass that? yeah. you have 2 options: 1) Use PG AdminII for Postgresql <7.3 2) Upgrade your database to 7.3 or

Re: [pgadmin-support] F2 key not working for editing rows on XP

2004-02-09 Thread Christopher Kings-Lynne
It's the keyboard -- just got a new MS keyboard at work and didn't notice it has an 'F Lock' key at the top, near Scroll Lock. I must have hit wit inadvertently, and thereby disabled the F keys. The F lock is the single most annoying keyboard development EVER. And I thought over the last few

Re: [pgadmin-support] Cannot add an column of type serial or bigserial

2003-12-10 Thread Christopher Kings-Lynne
serial isn't a true datatype but a keyword that can be used only at creation time. Still, pgAdmin3 should create the commands necessary for this to make life easier; I added this as a TODO item. The problem will be recording the dependency properly in pg_depend... Chris

Re: [pgadmin-support] Cannot add an column of type serial or bigserial

2003-12-09 Thread Christopher Kings-Lynne
You cannot add a serial column after table creation time in PostgreSQL. Chris David Sigeti wrote: Dear Pgadmin Folks, I am using pgadminIII 1.0.2 with PostgreSQL 7.4 under W2K SP4 and Cygwin (current as of 2 or 3 weeks ago). The server is running locally. If I attempt to add an column of typ

Re: [pgadmin-support] pg admin bug - view data

2003-11-22 Thread Christopher Kings-Lynne
We have Find Object in pga2, though it does little more than search the object heirarchy (everything in pga2 is driven through pgSchema, which is a self-building object hierarchy - basically what you see on the treeview & listview, plus create() and drop() etc. in the relevant places) Ours is a gig

Re: [pgadmin-support] pg admin bug - view data

2003-11-22 Thread Christopher Kings-Lynne
Actually, are you guys BSD licensed or GPL'd? phpPgAdmin is GPL'd. Neither, we use the Artistic Licence, the same as Perl. Does that mean our codebases are compatible or not? If so, to what degree? Chris ---(end of broadcast)--- TIP 3: if posti

Re: [pgadmin-support] pg admin bug - view data

2003-11-21 Thread Christopher Kings-Lynne
Yes, you're right, that's a bug; fixed in cvs. Though I consider a table without PK or OID buggy too... :-) We might expand pgAdmin3 to use a unique key as PK replacement. phpPgAdmin does the following in order to find a unique row identifier: 1. Looks for a PK 2. Looks for a Unique index. If on

Re: [pgadmin-support] bug in pgadmin III

2003-11-17 Thread Christopher Kings-Lynne
If you know how to encrypt the password, we certainly could supply the option to enter it that way... It's just an md5 hash prefixed with 'md5' isn't it? ??? Don't you just go ALTER USER blah ENCRYPTED PASSWORD 'asdf'; And postgres itself will encrypt it for you. Your SQL view should show wh

Re: [pgadmin-support] DBMigration-Wizard & Access 2002

2003-10-28 Thread Christopher Kings-Lynne
mycolumn int4 DEFAULT nextval("'mycolumn_seq'"::text) NOT NULL ^^^^ this is the error -> ' " and correct it should be: mycolumn int4 DEFAULT nextval('myschema.mycolumn_seq'::text) NOT NULL ^^

Re: [pgadmin-support] How to use the SET data type? Help plz!

2003-10-27 Thread Christopher Kings-Lynne
I see your points. So how is the best way to implement this type of "set" idea in something like postgres? Say I have a column named primary colors, and I want to limit this to red, blue, and yellow. How is the best way to do this without a mysql set? CREATE TABLE foo ( color varchar(

Re: [pgadmin-support] How to use the SET data type? Help plz!

2003-10-26 Thread Christopher Kings-Lynne
Odd that it is a selectable datatype in pgadmin then huh? That's a question for the pgAdmin guys, but I know that PostgreSQL has a type called 'set', which is nothing to do with sets as you understand them. If there are no sets, then is there anythign else that can be used to represent that ty

Re: [pgadmin-support] How to use the SET data type? Help plz!

2003-10-26 Thread Christopher Kings-Lynne
U...PostgreSQL doesn't support sets... Chris [EMAIL PROTECTED] wrote: When I add a column a table I am able to choose the SET DataType, but there is no obvious way to define the acceptable values for the set. I'd like to use the gui that I use for creating all my other columns rather than

Re: [pgadmin-support] View column defaults in pgAdminIII

2003-10-13 Thread Christopher Kings-Lynne
Unfortunately this is not possible because PostgreSQL doesn't retain the original SQL entered (see the many discussions about this on the pgsql-hackers list for details). Yes, and I had quite some fights to get this pretty-print functions into the backend for guys like us that don't like dozens

Re: [pgadmin-support] View column defaults in pgAdminIII

2003-10-13 Thread Christopher Kings-Lynne
I'm not sure what you mean here. Views don't have column defaults, only the underlying relations do. How would you expect that to be expressed in SQL (which pg_dump didn't do when I tried it btw)? Not true, views can explicitly have defaults. Chris ---(end of broadcast)

Re: [pgadmin-support] PgAdmin III: Two bugs

2003-10-07 Thread Christopher Kings-Lynne
Fixed in head and branch. dlgIndexConstraint::GetSql() was hard-coded to "PRIMARY KEY" instead of wxString(typeList[objectType].typeName).Upper(). Cool, thanks. Did you get the frogfrog thing as well? I noticed that when adding a UNIQUE constraint from the table prop dialogue. Regards, Dave.

[pgadmin-support] Two bugs in pgAdmin3 1.0.0

2003-10-06 Thread Christopher Kings-Lynne
1. When you change the statistics target of a column, eg: ALTER TABLE foo ALTER COLUMN bar SET STATISTICS 1000; It is not reflected in the 'code view' for the column object. 2. On WinXP, using pgAdmin 3 1.0.0 and connecting to Cygwin pgsql 7.3.4, I get these message while connecting to the serv