Re: About "Cost-based Vacuum Delay"

2018-06-29 Thread Jeff Janes
On Wed, Jun 27, 2018 at 3:19 AM, Laurenz Albe wrote: > Ilyeop Yi wrote: > > Currently, I am working with a workload that is mostly insert and > update, and its performance suffers from autovacuum. > Do you know what about the autovacuum causes the performance drop? Is it the reading, the

RE: dumping only table definitions

2018-06-29 Thread Kevin Brannen
On Fri, Jun 29, 2018 at 6:30 PM, Kevin Brannen mailto:kbran...@efji.com>> wrote: I’m trying to figure out how to dump only the table definitions, well those and things they need directly, like sequences & types. What I do NOT want are all the millions (not literally but it feels like it ☺) of

Re: dumping only table definitions

2018-06-29 Thread Melvin Davidson
On Fri, Jun 29, 2018 at 6:30 PM, Kevin Brannen wrote: > I’m trying to figure out how to dump only the table definitions, well > those and things they need directly, like sequences & types. What I do NOT > want are all the millions (not literally but it feels like it J) of > functions we have.

Re: dumping only table definitions

2018-06-29 Thread Tom Lane
Alvaro Herrera writes: > On 2018-Jun-29, Kevin Brannen wrote: >> I'm trying to figure out how to dump only the table definitions, well those >> and things they need directly, like sequences & types. What I do NOT want >> are all the millions (not literally but it feels like it :)) of functions

Re: dumping only table definitions

2018-06-29 Thread Alvaro Herrera
On 2018-Jun-29, Kevin Brannen wrote: > I'm trying to figure out how to dump only the table definitions, well those > and things they need directly, like sequences & types. What I do NOT want are > all the millions (not literally but it feels like it :)) of functions we > have. Triggers would

dumping only table definitions

2018-06-29 Thread Kevin Brannen
I'm trying to figure out how to dump only the table definitions, well those and things they need directly, like sequences & types. What I do NOT want are all the millions (not literally but it feels like it :)) of functions we have. Triggers would be all right if I must, as we only have a few

Re: CSV export bug?

2018-06-29 Thread Adrian Klaver
On 06/29/2018 12:53 PM, Adrian Klaver wrote: On 06/29/2018 09:29 AM, Tracy Babiasz wrote: Hi Adrian. Thanks for the response. I'm not sure how else to explain it. The report executes fine in the query tool and gives me about 300 lines in data output. It even appears to export fine. I click on

Re: CSV export bug?

2018-06-29 Thread Adrian Klaver
On 06/29/2018 09:29 AM, Tracy Babiasz wrote: Hi Adrian. Thanks for the response. I'm not sure how else to explain it. The report executes fine in the query tool and gives me about 300 lines in data output. It even appears to export fine. I click on the download button and open in Excel, but I

RE: CSV export bug?

2018-06-29 Thread Tracy Babiasz
Hi Adrian. Thanks for the response. I'm not sure how else to explain it. The report executes fine in the query tool and gives me about 300 lines in data output. It even appears to export fine. I click on the download button and open in Excel, but I get the statements I copied below. The

Re: CSV export bug?

2018-06-29 Thread Adrian Klaver
On 06/29/2018 07:58 AM, Tracy Babiasz wrote: Hi there. New pgAdmin user hoping someone out there might help me figure out why I can’t export a particular report. I’ve been running a few basic SQL scrips in pgAdmin pre 1.5 successfully and had no trouble exporting them as CSV files. Until one

CSV export bug?

2018-06-29 Thread Tracy Babiasz
Hi there. New pgAdmin user hoping someone out there might help me figure out why I can't export a particular report. I've been running a few basic SQL scrips in pgAdmin pre 1.5 successfully and had no trouble exporting them as CSV files. Until one report, which is a bit larger than the others

Re: Analyze plan of foreign data wrapper

2018-06-29 Thread Mathieu PUJOL
Hi, I understand that I should also use varno to check which table is referenced by varattno. In case of Join, aggregation, etc. Sometimes I get a number or INNER_VAR or OUTER_VAR. I am lost on how i could resolve this. I understand that OUTER_VAR/INNER_VAR are related to joins sub plans. Is outer

Re: Code of Conduct committee: call for volunteers

2018-06-29 Thread Magnus Hagander
On Wed, Jun 27, 2018 at 11:44 AM, ERR ORR wrote: > [ clear attempt at trolling ] > > This sort of verbiage has never been considered acceptable on the PostgreSQL lists. Since the CoC is not yet in effect, it falls on the core team to enforce community norms. Be advised that if you post something

Re: Database name with semicolon

2018-06-29 Thread Gavin Flower
On 29/06/18 04:22, joby.john@nccgroup.trust wrote: Pavel Stehule wrote 2018-06-28 12:10 GMT+02:00 please, can you try '"db; name"' .. double quotes nested in apostrophes I tried this with no luck. Also tried the other way, apostrophe nested in double quotes with same results.

Re: plperl and plperlu language extentsions

2018-06-29 Thread Niles Oien
I got it working, although I found it a bit odd. Although "yum list" showed postgresql10-plperl.x86_64 as being installed, in fact : yum install postgresql10-plperl went ahead as if it was not installed, and I was now able to create the language extensions. Thanks, all, Niles. On Thu, Jun

Re: pgloader question - postgis support

2018-06-29 Thread Dimitri Fontaine
Hi Brent, Yes I think it's possible, simply playing with the TARGET COLUMNS clause of the pgloader command. Would you mind opening an issue on Github, where I track bug fixes and user requests, so that our conversation is then publicly archived and available to other PostGIS and pgloader

Re: plperl and plperlu language extentsions

2018-06-29 Thread Niles Oien
Thanks for responding! I installed Postgres 10 from the PG repos. I believe the system came with Postgres 9.2 on it but I never used that. Postgres 10 is first in the path. On Thu, Jun 28, 2018 at 7:03 AM, Adrian Klaver wrote: > On 06/27/2018 08:27 AM, Niles Oien wrote: > >> >> Hi, >> >> I

Re: Windows 10 got stuck with PostgreSQL at starting up. Adding delay lets it avoid.

2018-06-29 Thread TAKATSUKA Haruka
On Fri, 29 Jun 2018 08:34:18 +0200 Thomas Kellerer wrote: > Did you try setting the service to "delayed start"? We didn't try it yet. Thanks to give an idea. I think that MS would advise us already if it were a just solution for this case. Anyway, we will try and confirm it. Thanks,

Re: Windows 10 got stuck with PostgreSQL at starting up. Adding delay lets it avoid.

2018-06-29 Thread Thomas Kellerer
TAKATSUKA Haruka schrieb am 29.06.2018 um 08:03: > I got a trouble in PostgreSQL 9.3.x on Windows 10. > I would like to add new delay code as an official build option. > > Windows 10 sometime (approximately once in 300 tries) hung up > at OS starting up. The logs say it happened while the

Windows 10 got stuck with PostgreSQL at starting up. Adding delay lets it avoid.

2018-06-29 Thread TAKATSUKA Haruka
I got a trouble in PostgreSQL 9.3.x on Windows 10. I would like to add new delay code as an official build option. Windows 10 sometime (approximately once in 300 tries) hung up at OS starting up. The logs say it happened while the PostgreSQL service was starting. When OS stopped, some postgres