a back up question

2017-12-05 Thread Martin Mueller
Are there rules for thumb for deciding when you can dump a whole database and when you’d be better off dumping groups of tables? I have a database that has around 100 tables, some of them quite large, and right now the data directory is well over 100GB. My hunch is that I should divide and

Re: a back up question

2017-12-05 Thread Martin Mueller
December 5, 2017 at 3:59 PM To: Martin Mueller <martinmuel...@northwestern.edu> Cc: "pgsql-general@lists.postgresql.org" <pgsql-general@lists.postgresql.org> Subject: Re: a back up question On Tue, Dec 5, 2017 at 2:52 PM, Martin Mueller <martinmuel...@northwestern.edu<m

computing z-scores

2018-05-24 Thread Martin Mueller
value. Is there a way of doing this in a single-step procedure or can you chain the two parts together in one query? This goes beyond my SQL competence. Martin Mueller

two instances of postgres on the same machine?

2018-07-15 Thread Martin Mueller
I made a stupid mistake with a backup and would be grateful for some advice on how to extricate myself. I created a dumpfile from a 10.3 postgres installation on a Mac and tried to restore it on another Mac 1,000 miles away, but forgot that that machine runs Postgres 9.6. The command

Re: two instances of postgres on the same machine?

2018-07-15 Thread Martin Mueller
Many thanks for your generous help, and on a Sunday afternoon as well. This is a wonderful listserv, and I am deeply indebted to it. MM On 7/15/18, 2:17 PM, "Tom Lane" wrote: Martin Mueller writes: > I created a dumpfile from a 10.3 postgres installation on a

Re: a very primitive question about division

2018-03-07 Thread Martin Mueller
not progressed much beyond 8th grade math. From: "David G. Johnston" <david.g.johns...@gmail.com> Date: Wednesday, March 7, 2018 at 11:43 AM To: Martin Mueller <martinmuel...@northwestern.edu> Cc: "pgsql-general@lists.postgresql.org" <pgsql-general@lists.postgresql.org>

Re: a very primitive question about division

2018-03-07 Thread Martin Mueller
there. From: "David G. Johnston" <david.g.johns...@gmail.com> Date: Wednesday, March 7, 2018 at 11:23 AM To: Martin Mueller <martinmuel...@northwestern.edu> Cc: "pgsql-general@lists.postgresql.org" <pgsql-general@lists.postgresql.org> Subject: Re: a very primitive

Re: editable spreadsheet style interface

2018-10-30 Thread Martin Mueller
I have used Aqua Data Studio for several years. Jetbrains recently released a similar product. Academic licensing is affordable (~ $200 a year) and very cheap if considered in terms of the time it saves you. From: David Gauthier Date: Tuesday, October 30, 2018 at 2:06 PM To:

metadata about creation and size of tables

2018-10-02 Thread Martin Mueller
I’ve looked at the documentation to find where to find some data that are very to find Mysql: the creation and modification data of a table and the size of particular tables. Where do I find an answer to the question “which is the last table I created” or “when did I last modify this table?”

Re: simple division

2018-12-05 Thread Martin Mueller
I take the point that two decades of backward compatibility should and will win. That said, it's an easy enough thing to right the balance for novices and put in a really obvious place in the documentation what you should do if you want to divide two integers and get the results with the

Re: simple division

2018-12-04 Thread Martin Mueller
w the root form, the dictionary was no use. In this, single stop shopping for the three most common problems of simple division makes life easier for users. On 12/4/18, 3:06 PM, "David G. Johnston" wrote: On Tue, Dec 4, 2018 at 1:57 PM Martin Mueller wrote: >

Re: simple division

2018-12-04 Thread Martin Mueller
I didn't formulate my question properly, because the query went like "select alldefects /wordcount" where alldefects and wordcount are integers. But none of the different ways of putting the double colon seemed to work. The Postgres notation of this simple procedure is very unintuitive. I

Re: Code of Conduct plan

2018-09-14 Thread Martin Mueller
On 9/14/18, 12:50 PM, "Joshua D. Drake" wrote: On 09/14/2018 07:41 AM, James Keener wrote: > > Community is people who joined it > > We're not a "community." I do not think you are going to get very many people on board with that argument. As anyone who knows me

Re: Code of Conduct plan

2018-09-15 Thread Martin Mueller
What counts as foul language has changed a great deal in the last two decades. You could always tie it to what is printable in the New York Times, but that too is changing. I could live with something like “Be considerate, and if you can’t be nice, be at least civil”. From: Melvin Davidson

Re: Code of Conduct plan

2018-09-15 Thread Martin Mueller
again "Where is the problem that needs solving?" On 9/15/18, 11:32 AM, "Bruce Momjian" wrote: On Sat, Sep 15, 2018 at 04:24:38PM +, Martin Mueller wrote: > What counts as foul language has changed a great deal in the last two decades. > You c

Re: Code of Conduct plan

2018-09-16 Thread Martin Mueller
As long as subscribers to the list or attendants at a conference do not violate explicit or implicit house rules, what business does Postgres have worrying about what they do or say elsewhere? Some version of an 'all-of-life' clause may be appropriate to the Marines or federal judges, but it

Re: Code of Conduct plan

2018-09-14 Thread Martin Mueller
I have followed this list for a couple of years, have benefited several times from quick and helpful advice, and wonder whether all this code of conduct stuff is a solution in search of a problem. Or, if there is a problem now and then, whether an elaborate code does a better job than

Re: crosstab function

2019-02-26 Thread Martin Mueller
, 8:04 PM, "Adrian Klaver" wrote: On 2/26/19 5:51 PM, Martin Mueller wrote: > I run Postgres 10.5. I understand that there is something called > tablefunc and it includes a crosstab function. On Stack Overflow I learn > that you import this function. But

crosstab function

2019-02-26 Thread Martin Mueller
EXTENSION IF NOT EXISTS tablefunc; but it did nothing. It doesn’t seem to work as import statements in Python do - Martin Mueller Professor emeritus of English and Classics Northwestern University

Drop a primary

2019-10-02 Thread Martin Mueller
I created a primary key with the following commands Add id serial Add primary key (id) I cannot figure out from the documentation how to drop that column.

Finding out about the dates of table modification

2019-11-22 Thread Martin Mueller
table. Which is really useful if you have a bad memory, as I do, and can't remember the name of a particular table that I worked on last Wednesday. Are those capabilities hidden somewhere in Postgres? There isn't an obvious section in the documentation. At least I can't find it. Martin Mueller

Re: MS Access Frontend

2019-11-30 Thread Martin Mueller
Leaving aside the question of money, a frontend like AquaData Studio or the equivalent program by Jetbrains would be a much better solution. I used to work with Access a lot and quite liked it. But AquaData Studio is not any more difficult to learn and gives you access to everything Postgress

Re: Oracle vs. PostgreSQL - a comment on Mysql

2020-06-03 Thread Martin Mueller
On the topic of what other databases do better: I much prefer Postgres to Mysql because it has better string functions and better as well as very courteous error messages. But MySQL has one feature that sometimes makes me want to return it: it stores the most important metadata about tables in

A simple question about text fields

2021-06-16 Thread Martin Mueller
Are there performance issues with the choice of 'text' vs. varchar and some character limit? For instance, if I have a table with ten million records and text fields that may range in length from 15 to 150, can I expect a measurable improvement in response time for using varchar(150) or will

a very naive question about table names in Postgres

2021-12-31 Thread Martin Mueller
is that mapping and how can I query it? On what page of the documentation do I find the answer? I much prefer Postgres to Mysql for a variety of reasons, but mostly for its elegant string functions. But in Mysql it seems to be much easier to keep track of tables. Martin Mueller Professor emeritus

update from 13 to16

2023-09-15 Thread Martin Mueller
the data via Aqua Data Studio, as if they were very large spreadsheets. Is that a correct analysis? I just want to make sure. Martin Mueller Professor emeritus of English and Classsics Northwestern University

a simple-minded question about updating

2023-05-18 Thread Martin Mueller
ment, which handles up to 10 million rows quite comfortably. A I right in thinking that given my tasks and equipment it would be a waste of time to update? Or is there something I’m missing? Martin Mueller Professor emeritus of English and Classiccs Northwestern University

a really dumb password question

2023-06-22 Thread Martin Mueller
I have a very stupid password question. I don’t know whether a postgres database on my Mac has a pass word or not. I access the database via the Aqua Data Studio frontend as the user postgres. I don’t think I ever added a password, and on the authentication panel the password box is empty but

Re: a simple-minded question about updating

2023-05-19 Thread Martin Mueller
I currently work with Postgres 13. I forgot to mention that. From which I gather that around version 18 it would be time to upgrade. But in the interim I’d be OK. Right? From: Adrian Klaver Date: Thursday, May 18, 2023 at 11:21 PM To: Martin Mueller , pgsql-general@lists.postgresql.org