Re: [GENERAL] Upgrading postgresql minor version

2017-05-10 Thread Ron Ben
ogh כתב:På onsdag 10. mai 2017 kl. 16:55:50, skrev Ron Ben <ronb...@walla.co.il>:   I think you miss understood me. pg_dump dumps the data. the tables, functions and the data saved in them. I have daily backups for this so i'm not worried.   What i'm woried about are the "executabl

Re: [GENERAL] Upgrading postgresql minor version

2017-05-10 Thread Ron Ben
05/10/2017 06:08 AM, Ron Ben wrote:> I'm about to upgrade my postgresql to the latest 9.3 version> On my test server eveything works.> However I want to save a backup of my production server before the > upgrade...> I'm not sure how I do that.https://www.postgresql.org/docs/9.3/s

[GENERAL] Upgrading postgresql minor version

2017-05-10 Thread Ron Ben
I'm about to upgrade my postgresql to the latest 9.3 version   On my test server eveything works. However I want to save a backup of my production server before the upgrade... I'm not sure how I do that.   It says that only system files are changed during upgrade... which folders exactly I need to

Re: [GENERAL] How to upgrade PostgreSQL minor version?

2017-04-26 Thread Ron Ben

Re: [GENERAL] How to upgrade PostgreSQL minor version?

2017-04-26 Thread Ron Ben
se. And as mentioned earlier 9.3.5 and 9.3.9 can create problems as they require specific checks.     I'd appriciate any insight.         ב אפר׳ 26, 2017 13:26, Sameer Kumar כתב: On Wed, Apr 26, 2017 at 4:41 PM Ron Ben <ronb...@walla.co.il> wrote: I'm runing PostgreSQL 9

[GENERAL] How to upgrade PostgreSQL minor version?

2017-04-26 Thread Ron Ben
I'm runing PostgreSQL 9.3.3 and I want to upgrade it to the latest 9.3 version The documontation does not specify what needs to be done other than "just install the executables". This is wierd as for example 9.3.5 release notes request to run a specifc query to  check for pg_multixact files left.  

Re: [GENERAL] Not sure this should be asked here but...

2017-04-23 Thread Ron Ben
Sat, Apr 22, 2017 at 12:04 PM, Ron Ben <ronb...@walla.co.il> wrote:Why to use mailining list rather than forum? forum gives much more flexablitiy, easy to read and respond, allows to search for other simillar issues, topics can be tagged...   ​Was this intended to display irony re: "allow

[GENERAL] Not sure this should be asked here but...

2017-04-22 Thread Ron Ben
Why to use mailining list rather than forum? forum gives much more flexablitiy, easy to read and respond, allows to search for other simillar issues, topics can be tagged...    

Re: [GENERAL] Unable to upload backups

2017-04-20 Thread Ron Ben
another GRANT statment to user it won't be in the last.. you have no way of knowing the correct order of GRANTS. ב אפר׳ 19, 2017 17:26, Adrian Klaver כתב:On 04/19/2017 07:16 AM, Ron Ben wrote:> Here :)Thanks.See my previous response. Basically we need more information before this can be

Re: [GENERAL] Unable to upload backups

2017-04-19 Thread Ron Ben
ver כתב:On 04/19/2017 06:49 AM, Ron Ben wrote:Is it possible to get your email program to left justify text on sending? I can figure out the right justified text, it just takes me longer.> I think I may have found the problem.>> The role defined as:>> CREATE ROLE "ronb&quo

Re: [GENERAL] Unable to upload backups

2017-04-19 Thread Ron Ben
he last known command of grant? Sadly, when there are more than one role it's impossible to know which role was first. PostgreSQL shows them alphabeticly rather than by date so in case of overlaping instructions its impossible to know which one was first.ב אפר׳ 19, 2017 16:40, Adrian Klaver כתב:O

[GENERAL] Unable to upload backups

2017-04-19 Thread Ron Ben
Hi, I'm using PostgreSQL 9.3.2 I'm running the command:   psql -h testserver -U ronb -f backup.sql  -q -d foldertest  2>error.txt >output.txt This should generate my database in foldertest However this doesn't work. It's unable to create schemas in the error.txt i see "permission denied for

Re: [GENERAL] Nice to have features: Percentage function

2017-04-17 Thread Ron Ben
Hi, I know I can solve my issue localy but I think that percentage manipulation is commonly used by many users and while it's true that each one can create his own solution localy it would be nice if postgresql would have build in functions for that.   percentagee manipulation is a core

[GENERAL] Nice to have features: Percentage function

2017-04-15 Thread Ron Ben
Hi, I'm always finiding myself writing many varations of functions to calculate percentage. I think it would be nice if postgresql would have build in functions for that. I think the major functionality is something like the 3 ooptions here: https://percentagecalculator.net/   It may help to keep

Re: [GENERAL] Request to add feature to the Position function

2017-03-29 Thread Ron Ben
will find usefull and it doesn't seem like a lot of work to implement it.ב מרץ 28, 2017 19:42, David G. Johnston כתב:On Tue, Mar 28, 2017 at 7:09 AM, Adrian Klaver <adrian.kla...@aklaver.com> wrote:On 03/28/2017 12:29 AM, Ron Ben wrote: Here is a refer to the stackoverflow question: http://s

Re: [GENERAL] Request to add feature to the Position function

2017-03-28 Thread Ron Ben

[GENERAL] Request to add feature to the Position function

2017-03-27 Thread Ron Ben
Hi, position(substring in string) as listed here: https://www.postgresql.org/docs/9.1/static/functions-string.html locates sub string in a string.   It doesn't support locateing the substring from the back.   For example:   position('om' in 'Tomomas') gives 2   But if I want to locate the first