[Info-ingres] usermod script only option

Martin Bowes martin.bowes at ndph.ox.ac.uk
Fri Feb 18 07:45:26 UTC 2022


Hi Paul,

Thanks for that suggestion.

Sadly, I’d wanted to avoid copydb as I have to manage the output files whereas usermod has the nice habit of spilling to stdout. But, I now suspect the extra file handling burden is better than the 5-10 minute wait for usermod to do the actual mod part.

Marty

From: Paul White <shift7solutions at gmail.com>
Sent: 17 February 2022 22:40
To: info-ingres at lists.planetingres.org
Subject: Re: [Info-ingres] usermod script only option


Hi Marty,

does this work for you? It generates the commands for the modifies, and also drops and create indices.

 copydb -with_modify -with_index -add_drop mydb



Paul


On 17/02/2022 8:47 pm, Martin Bowes wrote:
Hi All,

Is there some way of running usermod and getting it to just generate the script without actually performing the modifies?

The manual suggests that isn’t an option.

Marty



_______________________________________________

Info-ingres mailing list

Info-ingres at lists.planetingres.org<mailto:Info-ingres at lists.planetingres.org>

https://lists.planetingres.org/mailman/listinfo/info-ingres

--

Paul White<br>

Shift Seven Solutions<br>

<b>m: 0414681799</b><br>

p: 0754482137<br>

e: paul.white at shift7solutions.com.au<mailto:paul.white at shift7solutions.com.au><br>

w: https://www.shift7solutions.com.au<br>

International: +61414681799<br>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.planetingres.org/pipermail/info-ingres/attachments/20220218/f0502df9/attachment.html>


More information about the Info-ingres mailing list