Re: [GENERAL] pg on Debian servers

2017-11-11 Thread Magnus Hagander
use a restart. I run upgrades > without any applications running so I don't know exactly what could > happen when using unattended upgrades. > libpq does get upgraded, but it does not cause restarts. A restart of a client application using libpq must be done manually by the administrator (unless there is specific code in the client application or it's packaging to deal with that). -- Magnus Hagander Me: https://www.hagander.net/ <http://www.hagander.net/> Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

Re: [GENERAL] pg on Debian servers

2017-11-11 Thread Magnus Hagander
n? Certainly. Unrelated to PostgreSQL, this is a standard feature in Debian. Commonly used to prevent things like kernel upgrades from happening on the same schedule as others. Basically, you put the package "on hold". See the debian administratino guide at https://debian-administrati

Re: [GENERAL] Logcal replication in large scale

2017-09-20 Thread Magnus Hagander
On Wed, Sep 20, 2017 at 10:02 AM, Nicklas Avén wrote: > On Wed, 2017-09-20 at 09:44 +0200, Magnus Hagander wrote: > > On Wed, Sep 20, 2017 at 8:53 AM, Nicklas Avén > wrote: > > Hallo all > > I am thrilled about logical replication in PostgreSQL 10. My head have >

Re: [GENERAL] Logcal replication in large scale

2017-09-20 Thread Magnus Hagander
On Wed, Sep 20, 2017 at 8:53 AM, Nicklas Avén wrote: > Hallo all > > I am thrilled about logical replication in PostgreSQL 10. My head have > started spinning about use cases. > > Would it be possible to use logical replication as a distribution > method of data? > As an answer to the generic q

Re: [GENERAL] pg_ident mapping Kerberos Usernames

2017-09-10 Thread Magnus Hagander
is it something where I need to > pick one way to do it? > This looks like you are trying to connect with the actual username user1¡A.DOMAIN.TLD. pg_ident only sets what you are allowed to log in as, not what it will attempt. If you are using psql, you are probably doing something like "psql -h myserver". You need to add the user, so "psql -h myserver -U user1", to instruct it of which username to actually use for the login. -- Magnus Hagander Me: https://www.hagander.net/ <http://www.hagander.net/> Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

Re: [GENERAL] pg_rewind - restore new slave failed to startup during recovery

2017-08-22 Thread Magnus Hagander
really mention that in the docs. What do others > think? > If the documentation is missing such a clearly critical step, then I would say that's a definite documentation bug and it needs to be fixed. We can't really fault people for missing a small detail if we didn't

Re: [GENERAL] debugging SSL connection problems

2017-07-10 Thread Magnus Hagander
(I think) SSL_get_peer_certificate() to get at it. (this is what libpq does and stores it in ->peer, but that's a private api. But you can see be-secure-openssl.c for some examples) -- Magnus Hagander Me: https://www.hagander.net/ <http://www.hagander.net/> Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

Re: [GENERAL] pg_basebackup error: replication slot "pg_basebackup_2194" already exists

2017-05-30 Thread Magnus Hagander
> This seems to be new with 10. I recently began testing the > pacemaker resource agent against PG 10. I never had (or noticed) this > failure with 9.6.1 and 9.6.2. > Hah, that's an interesting failure. In the name of the slot, the 2194 comes from the pid -- but it's the pid o

Re: [GENERAL] Help: Installing 9.6 breaks local connections to 9.2 on Centos 6.9

2017-05-16 Thread Magnus Hagander
present. But it should perhaps be more clearly documented somewhere. -- Magnus Hagander Me: https://www.hagander.net/ <http://www.hagander.net/> Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

Re: [GENERAL] Convert from LATIN9 to UTF-8 / WAL Replication

2017-05-10 Thread Magnus Hagander
e latin9 encoding, and then do a second migratino which changes the encoding from 9.6 w latin9 to 9.6 w utf8. That way you can get access to the newer tools such as pglogical to help you do that. -- Magnus Hagander Me: https://www.hagander.net/ <http://www.hagander.net/> Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

Re: [GENERAL] Link errors

2017-05-05 Thread Magnus Hagander
with wsock32.lib... > I suggest you try building it with the supported method (the msvc build system in src/tools/msvc), and then inspect the difference. You can also look up those references in the Microsoft docs (for each API function there is a listing at the bottom of the page tell

Re: [GENERAL] Compatibility of libpg

2017-05-04 Thread Magnus Hagander
On Thu, May 4, 2017 at 7:32 PM, John R Pierce wrote: > On 5/4/2017 2:19 AM, Magnus Hagander wrote: > > On Wed, May 3, 2017 at 11:31 PM, John R Pierce > wrote: > >> On 5/3/2017 2:20 PM, Magnus Hagander wrote: >> >>> >>> Please note that this m

Re: [GENERAL] Compatibility of libpg

2017-05-04 Thread Magnus Hagander
On Thu, May 4, 2017 at 12:06 AM, Igor Korot wrote: > > On Wed, May 3, 2017 at 5:20 PM, Magnus Hagander > wrote: > > On Tue, May 2, 2017 at 4:49 AM, Igor Korot wrote: > >> > >> John, > >> > >> On Mon, May 1, 2017 at 9:38 PM, John R Pierce &g

Re: [GENERAL] Compatibility of libpg

2017-05-04 Thread Magnus Hagander
On Wed, May 3, 2017 at 11:31 PM, John R Pierce wrote: > On 5/3/2017 2:20 PM, Magnus Hagander wrote: > >> >> Please note that this method of building libpq has been removed from >> Postgres 10, so it's considered to be deprecated for quite some time. >> >&g

Re: [GENERAL] Compatibility of libpg

2017-05-03 Thread Magnus Hagander
Postgres 10, so it's considered to be deprecated for quite some time. > Is there a way to build a Debug version of the libraries? > I'm building my app in Debug mode right now and prefer not to mix the > libraries. > Especially since I know Debug and Release version with MSVC li

Re: [GENERAL] Recover PostgreSQL database folder data

2017-04-22 Thread Magnus Hagander
the selinux docs for how to figure out what is wrong and probably use restorecon to get things back in order. -- Magnus Hagander Me: https://www.hagander.net/ <http://www.hagander.net/> Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

Re: [GENERAL] A change in the Debian install

2017-04-06 Thread Magnus Hagander
ht be able to make upstream > changes to remove the need for others. > That'd be useful. I think you should also include Devrim to figure out what things would actually make *both* sides happier. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] browser interface to forums please?

2017-04-05 Thread Magnus Hagander
ers who *are* willing to do that, and they make that platform work. So I'm very grateful for those people doing it, even better that it's not me. And also, if somebody wants to take another stab at trying to make web forums for PostgreSQL, I say let them try. I don't think it would work, but I'd be happy to be proven wrong. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] browser interface to forums please?

2017-04-05 Thread Magnus Hagander
On Wed, Apr 5, 2017 at 6:31 PM, Adrian Klaver wrote: > On 04/05/2017 09:17 AM, Magnus Hagander wrote: > > >> This has been tried a number of times. I'ts been a couple of years since >> I last saw one, but multiple people have set up forums, either mirrored >> or

Re: [GENERAL] browser interface to forums please?

2017-04-05 Thread Magnus Hagander
n, but in the previous attempts it certainly hasn't been "many users". It could be that whomever set them up did a bad job of course, I can't judge that as I didn't personally use them more than take a look every now and then. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [HACKERS] REFERENCES privilege should not be symmetric (was Re: [GENERAL] Postgres Permissions Article)

2017-03-31 Thread Magnus Hagander
ite unlikely that it would hit somebody, but the risk is there. And people generally auto-upgrade to the latest minor releases, whereas they at least in theory read the top of the release notes when doing a major upgrade (ok, most people probably don't, but at least some do). -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] Wiki editor privilege

2017-03-23 Thread Magnus Hagander
On Thu, Mar 23, 2017 at 7:57 AM, Charles Clavadetscher < clavadetsc...@swisspug.org> wrote: > Hello > > I would like to upload the slides of my presentation at Nordic PGDay > 2017. Could you please grant me edit privilege on the wiki? > > My user name is cclavadetscher &g

Re: [GENERAL] Load multiple CSV file in Postgres using COPY

2017-02-16 Thread Magnus Hagander
On Feb 17, 2017 06:53, "John R Pierce" wrote: On 2/16/2017 9:43 PM, Magnus Hagander wrote: > Perhaps something like "COPY FROM PROGRAM 'cat /path/*.csv'" would work for you? he's using HEADER, so cat wouldn't work.he's also using MSDOS/WIn

Re: [GENERAL] Load multiple CSV file in Postgres using COPY

2017-02-16 Thread Magnus Hagander
> .. > .. > COPY prdxgdat FROM 'Z:/data-2016-04-50.csv' WITH DELIMITER ',' CSV HEADER Y > > 50 files -> 50 COPY command, In my use case I think this is not a good way > to load data, Can you suggest any better way to do this? > > I can always write e

Re: [GENERAL] Can't restart Postgres

2017-02-15 Thread Magnus Hagander
y and starts PG. If I shut > it down and copy the old data directory into the newly installed one, will > there be an xlog issue? > You have to copy the xlog along with the database. Or if you leave it in place where it is, the packages won't initialize a new data directory. -

Re: [GENERAL] Can't restart Postgres

2017-02-15 Thread Magnus Hagander
to be from postgresql-9.4-client though -- have you actually by mistake uninstalled the server package completely? As in, that directory is supposed to have the "postgres" binary which is the database server and it's not there. So there is no wonder it's not starting... -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] Can't restart Postgres

2017-02-14 Thread Magnus Hagander
use pg_ctl as the postgres user? That will give you a better > idea. You don't want ot be doing that on a systemd system, but try a combination of pg_lsclusters and pg_ctlcluster. Might be you need to shut it down once that way before it realizes it's down,and then start it

Re: [GENERAL] PostgreSQL corruption

2017-02-14 Thread Magnus Hagander
you should really upgrade that to something that doesn't have loads of known bugs and then re-run the tests. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] pg_upgrade not able to cope with pg_largeobject being in a different tablespace

2016-10-18 Thread Magnus Hagander
nly potential problem. If you are willing to spend towards it, it would probably be better to spend towards the "upper layer" problem which would be to make it possible to move pg_largeobject to a different tablespace *without* turning on system_table_mods. That said, I cannot comment to the complexity of either doing that *or* doing a custom pg_upgrade that would support it. But solving a long-term problem seems better than solving a one-off one. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] Unexpected trouble from pg_basebackup

2016-10-05 Thread Magnus Hagander
On Wed, Oct 5, 2016 at 3:55 PM, otheus uibk wrote: > > > On Tue, Oct 4, 2016 at 10:49 PM, Magnus Hagander > wrote: > >> >> >> On Tue, Oct 4, 2016 at 10:42 PM, otheus uibk >> wrote: >> >>> After a 3 to 4 minute delay, pg_basebackup started

Re: [GENERAL] Unexpected trouble from pg_basebackup

2016-10-04 Thread Magnus Hagander
hich make it take time. Try with "-c fast" and see if the problem goes away. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] Filters not supported for LDAP authentication

2016-09-03 Thread Magnus Hagander
wouldn't accept a patch for that functionality. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] Site down

2016-04-14 Thread Magnus Hagander
ig issues we've had with ipv6 routing recently. It should be back up now. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] Equivalent of Oracle's per-session statistics (v$client_stats)?

2016-03-22 Thread Magnus Hagander
On Mar 22, 2016 6:14 PM, "Frits Jalvingh" wrote: > > Hello list, > > Oracle has a way to get per-session statistics. You identify a session using a call to dbms_session.set_identifier('xxx'), then you enable statistics using dbms_monitor.client_id_stat_enable('xxx'). > After this you do normal dat

Re: [GENERAL] PostgreSQL crashed, whole PC not responding

2016-03-10 Thread Magnus Hagander
0 (and it shows nothing). > That looks like a kernel issue/bug. Both because the log comes from the kernel, and because PostgeSQL can't actually take down the whole PC as long as the kernel is working properly. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: Email address VERP problems (was RE: [GENERAL] Does a call to a language handler provide a context/session, and somewhere to keep session data?

2016-03-09 Thread Magnus Hagander
ral email, it doesn't have any shortcut) does not contain this address naywhere, it was only used as an envelope sender. Possibly it got confused by the other VERP address in the initial email, which AFAICT is a manual mistake. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] could not migrate 8.0.13 database with large object data to 9.5.1

2016-03-02 Thread Magnus Hagander
On Mar 2, 2016 06:01, "John R Pierce" wrote: > > (thread moved from pg_bugs) > (upgrading a 8.0.13 database on Windows XP 32bit to 9.5.1 on Windows 8 64 bit.) > > > On 3/1/2016 8:05 PM, Premsun Choltanwanich wrote: >> >> Modified command by remove -Ft flag as per you suggestion: >> pg_dump -v

Re: [GENERAL] PostgreSQL flavors

2016-02-23 Thread Magnus Hagander
ago and doesn't actually exist anymore. (The advanced servers version does of course, but that's not open source). I think the only "Plus" product now is their cloud offering? -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] Let's Do the CoC Right

2016-01-22 Thread Magnus Hagander
On Fri, Jan 22, 2016 at 8:37 PM, David E. Wheeler wrote: > On Jan 22, 2016, at 11:28 AM, Magnus Hagander wrote: > > > Regardless whether it's true or not (to which I cannot speak), surely > statements like that would violate *both* the contributor covenant *and* > the

Re: [GENERAL] Let's Do the CoC Right

2016-01-22 Thread Magnus Hagander
suggested by others. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] dblink connect per socket / specify cluster name

2015-12-21 Thread Magnus Hagander
On Dec 21, 2015 08:58, "james garner" wrote: > > Dear list, > > i'm running PgSQL 9.3 on Debian installed from the Debian packets. > I'm using dblink to access a different database. > When im trying to connect to the database by socket via > dblink_exec('dbname=test host=/var/run/postgresql' .. >

Re: [GENERAL] Support for hardware tokens for server/replication private key

2015-12-08 Thread Magnus Hagander
rom a libpq perspective ,the replication standby is "just another client", so any parameters that work for libpq should work there. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] using a postgres table as a multi-writer multi-updater queue

2015-11-29 Thread Magnus Hagander
On Nov 29, 2015 18:34, "George Neuner" wrote: > > On Sun, 29 Nov 2015 05:04:42 -0500, "Steve Petrie, P.Eng." > wrote: > > >"George Neuner" wrote in message > >news:kaed5btl92qr4v8ndevlgtv0f28qaae...@4ax.com... > > > >> My vote for an email client would be Thunderbird. It runs on XP or > >> high

Re: [GENERAL] 9.3.9 ?

2015-06-12 Thread Magnus Hagander
On Jun 12, 2015 1:33 PM, "Albe Laurenz" wrote: > > Birta Levente wrote: > > In the postgresql yum repo appeared the 9.3.9 and 9.4.4, but on the > > postgresql.org nothing about the new version. Where I can see the changelog? > > AFAIK, it is being packaged and will be announced soon. The rpm pack

Re: [GENERAL] count distinct and group by

2015-05-07 Thread Magnus Hagander
y id; > > There is no "id" column in the returned dataset to order by. You are just returning one value, how would it be ordered? (and that row has a column named "count" - but you can alias it to SELECT count(distinct id) AS id FROM bg ORDER BY id - it just makes no sense to order a single row.. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] Upgrading hot standbys

2015-04-29 Thread Magnus Hagander
ith start/stop backups etc). You can't upgrade the standbys and have them re-join the master, they have to be redone from scratch. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] GiST indeices on range types

2015-04-01 Thread Magnus Hagander
dexable with gist or spgist. I don't think the docs cover the actual implementation internals though - you'll probably have to go to the source if you need that. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] Ransomware article

2015-02-03 Thread Magnus Hagander
a LIKE matching on a string, but if the application is trivial enough not to use that, it's certainly doable. But all the security issues are 100% within the application itself. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] sslmode verify-ca and verify-full: essentialy the same?

2015-01-27 Thread Magnus Hagander
in the connection string (or in an environment variable, or however you end up specifying it). -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] sslcompression / PGSSLCOMPRESSION not behaving as documented?

2015-01-16 Thread Magnus Hagander
There's been a few reports on this now. Perhaps we should add a note to the docs (not necessarily saying how to fix it, as it may differ, but a note saying that many distributions changed the way this is handled and that you might need to set an external override)? -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] SSL Certificates in Postgres 9.3 and Windows 7

2014-11-10 Thread Magnus Hagander
On Mon, Nov 10, 2014 at 8:53 PM, John R Pierce wrote: > On 11/10/2014 11:13 AM, Magnus Hagander wrote: >> >> Then it's more logical. Nabble simply did not include that when the >> email was posted. I would call that either a bug or at least a >> limitation in Nabbl

Re: [GENERAL] SSL Certificates in Postgres 9.3 and Windows 7

2014-11-10 Thread Magnus Hagander
t include that when the email was posted. I would call that either a bug or at least a limitation in Nabble - I think only they can figure out what's wrong and if it's fixable. Until then, we'll have to recommend people just post plaintext from there (which seems to work) or use a mo

Re: [GENERAL] SSL Certificates in Postgres 9.3 and Windows 7

2014-11-09 Thread Magnus Hagander
e-mail but since I could read the > problem areas the question is why other e-mail clients aren't seeing them... I'd be more interested in how *you* could see them - unless you are just referring to seeing them on nabble.com? The original as delivered through the mailinglist is in it&#

Re: [GENERAL] Planet Postgres

2014-10-31 Thread Magnus Hagander
conf.eu last week, and struggling under backlogs. But as Stephen says, the backlog will eventually get worked through, and the moderation happen. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Where should I post 3rd party product announcements?

2014-10-14 Thread Magnus Hagander
It's on http://www.postgresql.org/, click the link that says "Submit news". //Magnus On Tue, Oct 14, 2014 at 11:55 AM, Jonathan Neve wrote: > Sorry for being a bit dense, but where should I submit a website news > posting ? > > Le mardi 14 octobre 2014 11:45:5

Re: [GENERAL] Where should I post 3rd party product announcements?

2014-10-14 Thread Magnus Hagander
primarily for website news postings - but a website news postign is really what you should do with it, rather than post it to a mailinglist. So I suggest a look at those rules and then a website news submission that follows them. -- Magnus Hagander Me: http://www.hagander.net/ Work: http

Re: [GENERAL] OpenSSL Vulnerabilities

2014-06-13 Thread Magnus Hagander
by the operating system and nothing is bundled by PostgreSQL. If you installed manually from source, for example, then of course you need to make sure that your updated openssl is compatible with the old one. //Magnus > Thanks > V.S.Saravanan > > > On Thu, Jun 12, 2014 at 7

Re: [GENERAL] OpenSSL Vulnerabilities

2014-06-12 Thread Magnus Hagander
tunately they don't seem to have information about the updates yet - I will see if i can ping them about making sure that goes on there. I think they have already patched it - but it's not confirmed on the website. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] Heartbleed Impact

2014-06-05 Thread Magnus Hagander
com/openssl-fixes-another-severe-vulnerability-7000030253/ > > Currently in PostgreSQL 9.4.3 the version is as follows: OpenSSL 1.0.1g 7 > Apr 2014 > > As per the above link, fixed OpenSSL version would be 1.0.1h > > Looking forward for some comments here. > > Hi! The guys at EnterpriseDB are busy building new installers as we speak, I would expect them to be out tomorrow or so. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] Online recovery of Tablespace

2014-05-22 Thread Magnus Hagander
ion which occurs to me is using pg_xlogdump contrib. Has anyone > tried something similar? > > We do not support recovering just one tablespace. You have to recover the whole database. (I see that you are using EnterpriseDB's propietary version based on the paths, but I don't b

Re: [GENERAL] LDAP authentication not working

2014-05-14 Thread Magnus Hagander
On Wed, May 14, 2014 at 11:48 AM, Jürgen Fuchsberger < juergen.fuchsber...@uni-graz.at> wrote: > > > On 05/14/2014 09:10 AM, Magnus Hagander wrote: > > On Wed, May 14, 2014 at 8:35 AM, Stephan Fabel > <mailto:sfa...@hawaii.edu>> wrote: > > > > I

Re: [GENERAL] LDAP authentication not working

2014-05-14 Thread Magnus Hagander
gt; >> Unfortunately I did not find what error code -1 means. >> >> Ldapsearch works fine: >> > ldapsearch -W -H ldaps://wegc24.uni-graz.at:636/ -D >> "CN=nss,DC=uni-graz,DC=at" >> >> Interesting is also, that postgres seems to not even reach the ldap >> server: If I change parameter ldapserver to a non-existing url it gives >> the same error code -1. >> >> Any help much appreciated! >> >> Best, >> Juergen >> >> -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] Monitoring Pg servers with Microsoft SCOM

2014-05-05 Thread Magnus Hagander
ics back that you want. Some quick googling shows several examples of how to monitor with custom SQL queries, but I don't know enough (or anything) about SCOM to recommend any of them in particular. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] UNIQUE contraint that is initially deferred in Postgres 8.4.13

2014-03-13 Thread Magnus Hagander
the docs are wrong. Deferrable unique constraints are a new feature in PostgreSQL 9.0, so it shouldn't be working in 8.4. (And as a sidenote, a reminder that 8.4 will go end of life in just a couple of months, so if you aren't already planning an upgrade of your production environment

Re: [GENERAL] High Level Committers Wanted

2014-03-12 Thread Magnus Hagander
l already be covered there, and there's also an unconference day that is open for any topic. See http://www.pgcon.org/2014/. No, it's not in the Columbia area (any of them), but on the other hand, there will be experts from all over the world there. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] stand by is starting until I do some work in the primary

2014-02-24 Thread Magnus Hagander
workaround is to make sure something happens on the master and do a checkpoint. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] Is pgFoundry Down? (2/18/2014)

2014-02-18 Thread Magnus Hagander
On Tue, Feb 18, 2014 at 6:07 PM, Purdon wrote: > It seems that pgfoundry.org is down? Is this the case for everyone? > According to http://www.downforeveryoneorjustme.com/pgfoundry.org it is, yeah. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] CET ERROR: requested WAL segment has already been removed

2014-02-14 Thread Magnus Hagander
t; backup? > For the slave, yes. The master is perfectly fine, so you don't need to do anything about that one. The errors are listed in the master log because they are caused by commands sent from the slave, but they do not indicate a problem on the master. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] pg_basebackup and checkpoints

2014-02-05 Thread Magnus Hagander
to issue a fast checkpoint instead of the default one. Just add "-c fast" to the commandline options. There should never be a need to run a manual checkpoint. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] pg_basebackup failing

2014-01-15 Thread Magnus Hagander
On Jan 15, 2014 12:07 PM, "Sameer Kumar" wrote: >> >> The error you are seeing is triggered because this relation file >> exceeds MAX_TAR_MEMBER_FILELEN or 8GB for a single tar member, which >> is as well the norm for tar. > > > I thought PostgreSQL would break the file if it grows beyond 1GB (1GB

Re: [GENERAL] pg_stop_backup running for 10h?

2014-01-12 Thread Magnus Hagander
d it should clearly tell you that. It should also tell you if you can safely cancel the pg_stop_backup() command. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] postgresql-common breaks logrotate

2013-12-27 Thread Magnus Hagander
e next release, since that's going to be another LTS. There's been talk about changing the way the logging is done in the debian packages in general, that might also be part of the solution. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] pg_stat_tmp

2013-12-16 Thread Magnus Hagander
id, even with that it shouldn't grow *that* large, unless you've go a huge number of tables. Certainly not into gigabyte range. So it could be that it's just the first indicator that fires, but that there's actually something else using up your space. But setting stats_temp_directory is a good first way to find that out. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] hstore syntax

2013-12-08 Thread Magnus Hagander
ig array, or one array of keys and one array of values). Also, it seems there's no length or size function for hstore? This is what > I've got working now array_length(akeys(s.hstore_field), 1). It seems to > be a rather long way to do it, but it works. That I don't think there is one, no. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] GSSAPI server side on Linux, SSPI client side on Windows

2013-11-12 Thread Magnus Hagander
> > > "postgres", and Npgsql is specifying "POSTGRES", but I also at some point > > configured two sets of SPNs on the domain for uppercase and lowercase, so > > I don't know if that's a mitigating factor. > > The client gets its service

Re: [GENERAL] Using LDAP for PostgreSQL permissions/authentication

2013-09-14 Thread Magnus Hagander
s, and at least for me, this has always been enough. If your LDAP server, or user provisioning system for that one, has some sort of trigger functionality, you can make it "almost synchronous" as well. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Strange message from pg_receivexlog

2013-08-20 Thread Magnus Hagander
t was closed, whereas postgres waited for the timeout (but probably would've noticed if it had actually had some other data to send maybe?). Do you have some iptables connection tracking or something like that which could be interfering? -- Magnus Hagander Me: http://www.hagander.ne

Re: [GENERAL] Question re contribs of Julian Assange

2013-07-17 Thread Magnus Hagander
d a list of his contributions at: http://git.postgresql.org/gitweb/?p=postgresql.git&a=search&h=HEAD&st=author&s=julian Not sure if there might be others as well that he didn't commit himself, but back in the days I think he mostly did. -- Magnus Hagander Me: http://www.hag

Re: [GENERAL] Force ssl connection

2013-07-10 Thread Magnus Hagander
t means, and that's one reason it has been deprecated since at least 8.2. requiressl=0 means "negotiate. use ssl if the server asks for it, but accept not using ssl". So this will connect without an error both with and without ssl. If you want to enforce ssl, use sslmode=require. I

Re: [GENERAL] LDAP referrals

2013-06-27 Thread Magnus Hagander
fix your server not to send broken referrals ;) But I can see how it could perhaps still be useful to be able to block referrals. I think the reason it's not in there already is mainly that it doesn't make much sense for the actual login bind - but it does make more sense for the search s

Re: [GENERAL] .pgpass being ignored

2013-06-25 Thread Magnus Hagander
r --maintenance-db, but tat was added in 9.2 only. But even so, createdb must connect to an *existing* database in order to issue the CREATE DATABASE command, so you need a line in .pgpass for whichever maintenance db you're using. (also, you should really upgrade to 9.0.13, though that won

Re: [GENERAL] Snapshot backups

2013-06-20 Thread Magnus Hagander
ckup functions also set internal state in the database, so you can't just replace it with doing those operations manually. You do need to call those functions. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] LDAP authentication timing out

2013-06-20 Thread Magnus Hagander
of the traffic between the ldap server and postgres, to see how far it gets at all - that's usually a good pointer when it comes to timeouts. Also, what version of postgres (looks from the names that this might be edb advanced server and not actually postgres? In that case you might be better off talking to the EDB people - they may have made some modifications to the ldap code perhaps)? What OS? Versions? What ldap client and version? What ldap server? -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/

Re: [GENERAL] pg_basebackup, requested WAL has already been removed

2013-05-10 Thread Magnus Hagander
behind that it can't recover. It may definitely be something that needs to be cleared up in the documentation though. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] What's wrong with postgresql.org domain?

2013-04-18 Thread Magnus Hagander
On Thu, Apr 18, 2013 at 10:37 AM, Eduardo Morras wrote: > On Thu, 18 Apr 2013 10:33:20 +0200 > Magnus Hagander wrote: > >> On Thu, Apr 18, 2013 at 10:31 AM, Eduardo Morras wrote: >> > >> > >> > I get Godaddy's page saying it's free >> &

Re: [GENERAL] What's wrong with postgresql.org domain?

2013-04-18 Thread Magnus Hagander
On Thu, Apr 18, 2013 at 10:31 AM, Eduardo Morras wrote: > > > I get Godaddy's page saying it's free Really? Whois shows it expires Oct 21 - and surely it will be renewed by then. and godaddy says it's registered (though no details). Any chance you just spelled it wron

Re: [GENERAL] Git host for postgresql related projects

2013-04-13 Thread Magnus Hagander
o provide you with the "social coding" stuff or whatever they call it (their forking/pull request/whatnot stuff) if you like it - but you can also just use it as a pure git repo if you prefer. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent v

Re: [GENERAL] High CPU usage of stats collector

2013-04-05 Thread Magnus Hagander
any chance have a large number of databases, and/or a large number of objects in your databases (tables or indexes)? -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your

Re: [GENERAL] FW: statement failure

2013-03-07 Thread Magnus Hagander
implicit casts - it's listed as the very first point under migration to 8.3 back in the old release notes (which can still be found as a chapter in the 9.2 release notes for example, even though 8.3 is fully unsupported by now) -- Magnus Hagander Me: http://www.hagander.net/ Work: http:/

Re: [GENERAL] could not link file "pg_xlog/xlogtemp.72606"

2013-02-18 Thread Magnus Hagander
or Postgresql 8.3 + PostGIS 1.5 Also, do note that PostgreSQL 8.3 is no longer supported - see http://www.postgresql.org/support/versioning/. You should look into upgrading ASAP. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent via pgsql-general mailing list (pg

Re: [GENERAL] Guidance on building Foreign Data Wrapper on Windows.

2013-02-13 Thread Magnus Hagander
pilers from MS, but thta will at this point require you to manually set up a project file in Visual Studio Express - but for something as simple as an FDW, that shouldn't be every hard. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent via pgsql-gene

Re: [GENERAL] Changing Character Sets

2013-02-12 Thread Magnus Hagander
s". Or you had manually specified SQL_ASCII in the 8.4 method. SQL_ASCII basically means "don't care at all about encodings". -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Changing Character Sets

2013-02-12 Thread Magnus Hagander
f a database, but you can use a different one when you create it - this can be specified in the CREATE DATABASE statement. You can also ask pg_dump to use a specific encoding using the -E parameter. You can't do it on pg_dumpall, but you can do it if you use pg_dump. -- Magnus Haga

Re: [GENERAL] PG V9 on NFS

2013-02-12 Thread Magnus Hagander
ong, and end up with data corruption. If you don't know exactly what to do there, I would definitely advice you not to try it. And don't even consider it without a high-end dedicated filer as the backend. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro

Re: [GENERAL] Hot Standby has PANIC: WAL contains references to invalid pages

2013-02-07 Thread Magnus Hagander
be worth trying that one. If you can show that the problem is in pg_basebackup, that's a very clear bug (either in pg_basebackup or in the backend supporting code), so that would be good to know. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ --

Re: [GENERAL] Version numbers for binaries

2013-01-31 Thread Magnus Hagander
of the developers. It worked this time, but that's better for next time. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Throttling Streamming Replication

2013-01-25 Thread Magnus Hagander
suppose that if I set > more than 1 second, it could accumulate a bunch of wal files and send it at > once. So, it wouldn't work. No, there is no such parameter. You might be able to send it through some proxy that slows it down, but there is no builtin support to do that. -- Magnus Haga

Re: [GENERAL] pg_Restore

2013-01-20 Thread Magnus Hagander
On Jan 21, 2013 7:17 AM, "bhanu udaya" wrote: > > > Hello, > Greetings ! > Thank you for the prompt reply. I have changed the settings as listed below: > > > shared_buffers = 1024MB > > > work_mem = 512MB > > > maintenance_work_mem = 512MB > > > wal_buffers = 100MB > > fsync = off # ONLY DURING I

Re: [GENERAL] pg_basebackup questions

2012-12-01 Thread Magnus Hagander
have something in pg_tblspc that is not a symlink. That's never supposed to happen, so your data directory is "corrupt". It's probably not something that actually causes a problem other than this one in the backup - for now at least. But the fix is moving the tablespace to a proper loc

Re: [GENERAL] Non-replicated index allowing comparison ("<")?

2012-11-29 Thread Magnus Hagander
On Nov 29, 2012 8:59 PM, "Björn Edström" wrote: > > Greetings list. > > I have a Postgresql 9.0.8 cluster with one master and a few slaves, in > a hot standby and streaming replication setup. The setup has a single > database with a single table. The table has a column "updated" of type > "timesta

  1   2   3   4   5   6   7   8   9   10   >