Re: [GENERAL] Trouble with PQnotifies()

2012-12-14 Thread seiliki
> The following listening worker thread behaves as expected if I insert/delete > rows into/from table "t1" in psql prompt. > > My trouble is when the SQL execution worker thread inserts/ deletes rows > into/from table "t1", the listening worker thread then goes crazy: > PQnotifies() always retu

Re: [GENERAL] Trouble with PQnotifies()

2012-12-14 Thread Mark Morgan Lloyd
seil...@so-net.net.tw wrote: The following listening worker thread behaves as expected if I insert/delete rows into/from table "t1" in psql prompt. My trouble is when the SQL execution worker thread inserts/ deletes rows into/from table "t1", the listening worker thread then goes crazy: PQnoti

Re: [GENERAL] initdb error

2012-12-14 Thread David Noel
> Well this has definitely moved up a support level and past anything I > know about. > For the record what version of FreeBSD are you running in case someone > is searching the archives? Any help is always appreciated. FreeBSD 8.3-RELEASE-p5. (I wonder if upgrading to 9.1 would do anything..)

Re: [GENERAL] initdb error

2012-12-14 Thread David Noel
> Did you use ports to install postgresql? Yes > What is the version of postgresql and freebsd you are using? postgresql client and server v. 9.2.2. If all else fails I could try downgrading to a previous version of postgres. FreeBSD 8.3-RELEASE-p5 > I am getting a different output while runni

Re: [GENERAL] initdb error

2012-12-14 Thread Amitabh Kant
On Fri, Dec 14, 2012 at 4:28 PM, David Noel wrote: > > Did you use ports to install postgresql? > > Yes > > > What is the version of postgresql and freebsd you are using? > > postgresql client and server v. 9.2.2. If all else fails I could try > downgrading to a previous version of postgres. > >

Re: [GENERAL] PostgreSQL contrib 9.2.x

2012-12-14 Thread Ondrej Ivanič
Hi, On 14 December 2012 17:56, a...@hsk.hk wrote: > I could see that it would install older PostgreSQL 9.1 and > postgresql-contrib-9.1. As I already have 9.2.1 and do not want to have > older version 9.1 in parallel, I aborted the apt install. > > How can I get pure postgresql-contrib for Postg

Re: [GENERAL] PostgreSQL contrib 9.2.x

2012-12-14 Thread a...@hsk.hk
Hi, got it installed, thanks On 14 Dec 2012, at 7:36 PM, Ondrej Ivanič wrote: > Hi, > > On 14 December 2012 17:56, a...@hsk.hk wrote: >> I could see that it would install older PostgreSQL 9.1 and >> postgresql-contrib-9.1. As I already have 9.2.1 and do not want to have >> older version 9.1 i

Re: [GENERAL] initdb error

2012-12-14 Thread David Noel
On 12/13/12, David Noel wrote: > I'm running into the following error message when running initdb (FreeBSD > host): > > ygg# /usr/local/etc/rc.d/postgresql initdb -D /zdb/pgsql/data --debug > The files belonging to this database system will be owned by user "pgsql". > This user must also own th

Re: [GENERAL] Monitoring streaming replication from standby on Windows

2012-12-14 Thread Yamen LA
Thank you Karl. I am trying to determine on the slave itself whether streaming replication (i.e. WAL receiver process) is active or not, similar to checking pg_stat_replication on the master. In fact, this is part of a larger module I am building to control the databases and automate failovers

Re: [GENERAL] JDBC to load UTF8@psql to latin1@mysql

2012-12-14 Thread Emi Lu
Yeah, I agree this is the right answer here, since you're using JDBC. By the time you get a String from the MySQL driver, it's already in Java's 2-bytes-per-char format. And the Postgres driver will deal with the encoding on the output side. So the code I provided won't help you. I'm afraid I don'

Re: [GENERAL] XML Schema for PostgreSQL database

2012-12-14 Thread Merlin Moncure
On Thu, Dec 13, 2012 at 5:52 PM, Edson Richter wrote: > Em 13/12/2012 20:10, Merlin Moncure escreveu: > >> On Thu, Dec 13, 2012 at 1:54 PM, Edson Richter >> wrote: >>> >>> Has anyone created a XML Schema that would represent PostgreSQL database >>> with all (or at least, major) structures? >> >>

[GENERAL] Problem starting PG-9.2 on non-default port

2012-12-14 Thread James B. Byrne
I wish to run an instance of PG-9.2 concurrently with our production version (9.1). I have changed the listening port number. listen_addresses = 'pgsql-dbms.hamilton.harte-lyne.ca, localhost' #port = 5432# (change requires restart) port = 5433 However, I am getting th

Re: [GENERAL] initdb error

2012-12-14 Thread Adrian Klaver
On 12/14/2012 04:08 AM, David Noel wrote: Interestingly, I have a second--virtually identical--server that I just tried initdb on. FreeBSD 8.3-RELEASE-p5, postgresql-server-9.2.2. Exact same "FATAL: could not open file pg_xlog" error. So it is reproducible. Does virtually identical extend to

Re: [GENERAL] initdb error

2012-12-14 Thread David Noel
>> Interestingly, I have a second--virtually identical--server that I >> just tried initdb on. FreeBSD 8.3-RELEASE-p5, postgresql-server-9.2.2. >> Exact same "FATAL: could not open file pg_xlog" error. So it is >> reproducible. > > Does virtually identical extend to architecture, amd64? Yes... and

Re: [GENERAL] Problem starting PG-9.2 on non-default port

2012-12-14 Thread Devrim Gündüz
Hi, Is this an RPM installation? If so, you also need to change the port in the init script, too. Regards, Devrim "James B. Byrne" wrote: >I wish to run an instance of PG-9.2 concurrently with our production >version (9.1). I have changed the listening port number. > >listen_addresses = 'pgs

Re: [GENERAL] Problem starting PG-9.2 on non-default port

2012-12-14 Thread Adrian Klaver
On 12/14/2012 06:26 AM, James B. Byrne wrote: I wish to run an instance of PG-9.2 concurrently with our production version (9.1). I have changed the listening port number. listen_addresses = 'pgsql-dbms.hamilton.harte-lyne.ca, localhost' #port = 5432# (change require

Re: [GENERAL] Read recover rows

2012-12-14 Thread Adrian Klaver
On 12/13/2012 06:51 PM, Alvaro Herrera wrote: Alejandro Carrillo escribió: Hi, 1) Anybody knows how to create a table using a table file? It isn't a fdw, is a file that compose the table in postgresql and get with the pg_relation_filepath function. Ex: select pg_relation_filepath('pg_proc'

Re: [GENERAL] Problem starting PG-9.2 on non-default port

2012-12-14 Thread James B. Byrne
On Fri, December 14, 2012 09:40, Adrian Klaver wrote: > On 12/14/2012 06:26 AM, James B. Byrne wrote: >> I wish to run an instance of PG-9.2 concurrently with our production >> version (9.1). I have changed the listening port number. >> >> listen_addresses = 'pgsql-dbms.hamilton.harte-lyne.ca, lo

Re: [GENERAL] JDBC to load UTF8@psql to latin1@mysql

2012-12-14 Thread Adrian Klaver
On 12/14/2012 06:06 AM, Emi Lu wrote: What does OP stand for? Original Poster. Emi -- -- Adrian Klaver adrian.kla...@gmail.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] Monitoring streaming replication from standby on Windows

2012-12-14 Thread Christian Hammers
Hello I was just wondering the same. As for the slave, it seems to me that the "ps fax" output "postgres: startup process recovering" is at least a quick way to check if the replication client has synced. In a case where e.g. the slave was down for a while and then unsuccessfully waits for WAL

Re: [GENERAL] Problem starting PG-9.2 on non-default port

2012-12-14 Thread Birta Levente
On 14/12/2012 16:37, Devrim Gündüz wrote: Hi, Is this an RPM installation? If so, you also need to change the port in the init script, too. Or if it's rhel/centos/sciencific like linux, you can specify in /etc/sysconfig/pgsql/postgresql-9.2: PGPORT=5433 Regards, Devrim "James B. Byrne"

Re: [GENERAL] Problem starting PG-9.2 on non-default port

2012-12-14 Thread Adrian Klaver
On 12/14/2012 06:48 AM, James B. Byrne wrote: And this is the running instance: service postgresql-9.1 status postgresql-9.1 (pid 1299) is running... So, I am fairly sure that I am trying to get 9.2 started and failing and not trying to start another instance of 9.1. Assuming an RPM instal

Re: [GENERAL] JDBC to load UTF8@psql to latin1@mysql

2012-12-14 Thread Emi Lu
On 12/14/2012 09:49 AM, Adrian Klaver wrote: Original Poster Thanks. And more info: Mysql +--++ | Variable_name| Value | +--++ | character_set_client | latin1 | | character_set_connection | latin1 | | character_set_

Re: [GENERAL] JDBC to load UTF8@psql to latin1@mysql

2012-12-14 Thread Tom Lane
Emi Lu writes: > For now, through the following method, all letters are correctly > transformed except "È". Meh. That character renders as \310 in your mail, which is not an assigned code in ISO 8859-1. The numerically corresponding Unicode value would be U+0090, which is an unspecified contro

[GENERAL] Implicit casts to array types

2012-12-14 Thread joshua
I'm trying to create an implicit cast from an unknown type into a text array type by creating a simple array of size 1. e.g. create function textarray(unknown) returns text[] as 'select ARRAY[$1::text];' language sql immutable; create cast (unknown as text[]) with function textarray(unknown) as i

Re: [GENERAL] Problem starting PG-9.2 on non-default port

2012-12-14 Thread James B. Byrne
On Fri, December 14, 2012 09:52, Adrian Klaver wrote: > > Assuming an RPM install, see Devrims reply. Might one inquire as to why it is necessary to override the configuration file in the startup script? -- *** E-Mail is NOT a SECURE channel *** James B. Byrne

Re: [GENERAL] Implicit casts to array types

2012-12-14 Thread Merlin Moncure
On Fri, Dec 14, 2012 at 9:16 AM, joshua wrote: > I'm trying to create an implicit cast from an unknown type into a text array > type by creating a simple array of size 1. e.g. > > create function textarray(unknown) > returns text[] > as 'select ARRAY[$1::text];' > language sql > immutable; > > cre

Re: [GENERAL] Read recover rows

2012-12-14 Thread Tom Lane
Adrian Klaver writes: > On 12/13/2012 06:51 PM, Alvaro Herrera wrote: >> Make sure the server is down and replace a table's file with the file >> you have. You can just create a dummy empty table with exactly the same >> row type as the one that had the table the file was for; you need to >> recr

Re: [GENERAL] Implicit casts to array types

2012-12-14 Thread joshua
Thanks, that function does help, but it still cannot cast directly to text[]; The point of the functions was only ever to allow for an implicit cast to text[]; My goal is to be able to copy from a simple csv with nonarray entries ("1,2,3,...") and extract text arrays when the target table calls for

Re: [GENERAL] JDBC to load UTF8@psql to latin1@mysql

2012-12-14 Thread Tom Lane
I wrote: > Meh. That character renders as \310 in your mail, which is not an > assigned code in ISO 8859-1. The numerically corresponding Unicode > value would be U+0090, which is an unspecified control character. Oh, scratch that, apparently I can't do hex/octal arithmetic in my head first thin

Re: [GENERAL] Implicit casts to array types

2012-12-14 Thread Tom Lane
joshua writes: > I'm trying to create an implicit cast from an unknown type into a text array > type by creating a simple array of size 1. e.g. > create function textarray(unknown) > returns text[] > as 'select ARRAY[$1::text];' > language sql > immutable; > create cast (unknown as text[]) with

Re: [GENERAL] Read recover rows

2012-12-14 Thread Adrian Klaver
On 12/14/2012 07:30 AM, Tom Lane wrote: Adrian Klaver writes: On 12/13/2012 06:51 PM, Alvaro Herrera wrote: Make sure the server is down and replace a table's file with the file you have. You can just create a dummy empty table with exactly the same row type as the one that had the table the

Re: [GENERAL] Implicit casts to array types

2012-12-14 Thread Merlin Moncure
On Fri, Dec 14, 2012 at 9:32 AM, joshua wrote: > Thanks, that function does help, but it still cannot cast directly to text[]; > The point of the functions was only ever to allow for an implicit cast to > text[]; I'm not parsing that. Why do you need an explicit cast? > My goal is to be able to

Re: [GENERAL] JDBC to load UTF8@psql to latin1@mysql

2012-12-14 Thread Adrian Klaver
On 12/14/2012 07:35 AM, Tom Lane wrote: I wrote: Meh. That character renders as \310 in your mail, which is not an assigned code in ISO 8859-1. The numerically corresponding Unicode value would be U+0090, which is an unspecified control character. Oh, scratch that, apparently I can't do hex/

Re: [GENERAL] Problem starting PG-9.2 on non-default port

2012-12-14 Thread Tom Lane
"James B. Byrne" writes: > On Fri, December 14, 2012 09:52, Adrian Klaver wrote: >> Assuming an RPM install, see Devrims reply. > Might one inquire as to why it is necessary to override the > configuration file in the startup script? There's some background about that here: https://bugzilla.redh

Re: [GENERAL] Implicit casts to array types

2012-12-14 Thread joshua
Tom- My apologies, I'm still somewhat new to this. Specifically, I'm dealing with COPY FROM CSV. I had assumed that since a csv is essentially a pile of text and COPY FROM is smart enough to interpret all sorts of csv entries into postgresql data types that if I wanted to allow a nonstandard conver

Re: [GENERAL] Implicit casts to array types

2012-12-14 Thread Merlin Moncure
On Fri, Dec 14, 2012 at 9:52 AM, joshua wrote: > Tom- > My apologies, I'm still somewhat new to this. Specifically, I'm dealing with > COPY FROM CSV. I had assumed that since a csv is essentially a pile of text > and COPY FROM is smart enough to interpret all sorts of csv entries into > postgresql

Re: [GENERAL] Implicit casts to array types

2012-12-14 Thread joshua
Merlin Moncure-2 wrote > If input csv doesn't match your destination structure, then staging > the input to a temporary work table and processing the transformation > with a query is really the way to go. Hacking casts is about as ugly > as it gets. > > merlin Thanks. I thought that might be the

Re: [GENERAL] Read recover rows

2012-12-14 Thread Alejandro Carrillo
But pg_dirty_read only runs in Linux. It doesnt run in windows. > > De: Alvaro Herrera >Para: Alejandro Carrillo >CC: "pgsql-general@postgresql.org" >Enviado: Jueves 13 de diciembre de 2012 21:51 >Asunto: Re: [GENERAL] Read recover rows > >Alejandro Carril

Re: [GENERAL] XML Schema for PostgreSQL database

2012-12-14 Thread Edson Richter
Em 14/12/2012 12:21, Merlin Moncure escreveu: On Thu, Dec 13, 2012 at 5:52 PM, Edson Richter wrote: Em 13/12/2012 20:10, Merlin Moncure escreveu: On Thu, Dec 13, 2012 at 1:54 PM, Edson Richter wrote: Has anyone created a XML Schema that would represent PostgreSQL database with all (or at le

Re: [GENERAL] Implicit casts to array types

2012-12-14 Thread Tom Lane
joshua writes: > My apologies, I'm still somewhat new to this. Specifically, I'm dealing with > COPY FROM CSV. I had assumed that since a csv is essentially a pile of text > and COPY FROM is smart enough to interpret all sorts of csv entries into > postgresql data types that if I wanted to allow a

Re: [GENERAL] XML Schema for PostgreSQL database

2012-12-14 Thread Atri Sharma
On Fri, Dec 14, 2012 at 9:47 PM, Edson Richter wrote: > Em 14/12/2012 12:21, Merlin Moncure escreveu: > > On Thu, Dec 13, 2012 at 5:52 PM, Edson Richter >> wrote: >> >>> Em 13/12/2012 20:10, Merlin Moncure escreveu: >>> >>> On Thu, Dec 13, 2012 at 1:54 PM, Edson Richter < edsonrich...@hotm

Re: [GENERAL] Implicit casts to array types

2012-12-14 Thread joshua
Tom Lane-2 wrote > COPY is not smart at all. It just looks at the column types of the > target table and assumes that the incoming data is of those types. > (More precisely, it applies the input conversion function of each > column's data type, after having separated and de-escaped the text > acco

[GENERAL] Fwd: [JDBC] Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc)

2012-12-14 Thread Haifeng Liu
Hello, Can anyone please figure out this ? Begin forwarded message: > From: dmp > Subject: Re: [JDBC] Fwd: [ADMIN] Confuse about the behaveior of > PreparedStatement.executeBatch (jdbc) > Date: December 15, 2012 12:30:50 AM GMT+08:00 > To: Haifeng Liu , pgsql-j...@postgresql.org > > Hello, >

Re: [GENERAL] XML Schema for PostgreSQL database

2012-12-14 Thread Merlin Moncure
On Fri, Dec 14, 2012 at 10:17 AM, Edson Richter wrote: > Em 14/12/2012 12:21, Merlin Moncure escreveu: > >> On Thu, Dec 13, 2012 at 5:52 PM, Edson Richter >> wrote: >>> >>> Em 13/12/2012 20:10, Merlin Moncure escreveu: >>> On Thu, Dec 13, 2012 at 1:54 PM, Edson Richter wrote:

Re: [GENERAL] Fwd: [JDBC] Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc)

2012-12-14 Thread Kevin Grittner
Haifeng Liu wrote: > Can anyone please figure out this ? This was just answered on the JDBC list by Kris Jurka: Internally the driver splits each batch into sub-batches of 250 to send to the server to reduce the possibility of deadlocking the network connection.  When auto-commit is enabled in

Re: [GENERAL] Problem starting PG-9.2 on non-default port

2012-12-14 Thread James B. Byrne
On Fri, December 14, 2012 10:21, James B. Byrne wrote: > > On Fri, December 14, 2012 09:52, Adrian Klaver wrote: > >> >> Assuming an RPM install, see Devrims reply. > > Might one inquire as to why it is necessary to override the > configuration file in the startup script? This is a patch for /etc

Re: [GENERAL] Problem starting PG-9.2 on non-default port

2012-12-14 Thread James B. Byrne
On Fri, December 14, 2012 10:21, James B. Byrne wrote: > > This is a patch for /etc/init.d/postgresql-9.2 to retrieve the port > from the postgresql.conf file and override the default setting if it > A slight, but important, correction that handles leading white space in the first selection: 76a

[GENERAL] postgres PANIC : heap_insert_redo: failed to add tuple

2012-12-14 Thread Alex Aseev
Gents, after restart service is not coming up, seems like something is corrupted. can i get recover data somehow?[?] 2012-12-14 17:49:28 EET LOG: could not create IPv6 socket: Address family not supported by protocol 2012-12-14 17:49:28 EET LOG: database system was interrupted while in recov

Re: [GENERAL] initdb error

2012-12-14 Thread Tom Lane
David Noel writes: > I didn't have any luck with the rc script but I was able to use it to > get a ktrace dump as root (ktrace as user pgsql doesn't seem to work). > So hopefully that will show something(!) The relevant part of the ktrace output is 71502 postgres CALL unlink(0x7fffc130) 7

Re: [GENERAL] JDBC to load UTF8@psql to latin1@mysql

2012-12-14 Thread Emi Lu
Hello All, Meh. That character renders as \310 in your mail, which is not an assigned code in ISO 8859-1. The numerically corresponding Unicode value would be U+0090, which is an unspecified control character. Oh, scratch that, apparently I can't do hex/octal arithmetic in my head first thing

Re: [GENERAL] Read recover rows

2012-12-14 Thread Alvaro Herrera
Alejandro Carrillo escribió: > But pg_dirty_read only runs in Linux. It doesnt run in windows. So port it. There's no fundamental reason for it not to work. -- Álvaro Herrerahttp://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgs

Re: [GENERAL] initdb error

2012-12-14 Thread David Noel
On 12/14/12, Tom Lane wrote: > David Noel writes: >> I didn't have any luck with the rc script but I was able to use it to >> get a ktrace dump as root (ktrace as user pgsql doesn't seem to work). >> So hopefully that will show something(!) > > The relevant part of the ktrace output is > > 71502

[GENERAL] PgSQL 9.1: Warning - error 10061 on Windows, no error on Linux - but connection is broken

2012-12-14 Thread Edson Richter
I just discovered a non PostgreSQL problem (but I was suspecting all the time from PostgreSQL). I'm recording this because would save lot of time from others in the list, since my problem is already solved. During this day, we had very busy servers and suddenly we started to get error 500 an

Re: [GENERAL] pg_restore error with out of memory

2012-12-14 Thread AI Rumman
I modified the shared_buffer=50 MB and maintenance_work_mem = 50 MB But still getting the same error. On Thu, Dec 13, 2012 at 7:36 PM, Kevin Grittner wrote: > AI Rumman wrote: > > I am going to restore a 6 Gb database in my development machine > which is running on Centos 5.6 with memory 1 GB.

Re: [GENERAL] JDBC to load UTF8@psql to latin1@mysql

2012-12-14 Thread Emi Lu
On 12/14/2012 01:37 PM, Emi Lu wrote: Hello All, Meh. That character renders as \310 in your mail, which is not an assigned code in ISO 8859-1. The numerically corresponding Unicode value would be U+0090, which is an unspecified control character. Oh, scratch that, apparently I can't do hex/

[GENERAL] Quickly making a column non-nullable (without a table scan)

2012-12-14 Thread Joe Van Dyk
Hi, I have an index on a column that can be nullable. I decide the column shouldn't be nullable anymore. So I alter the column to be not nullable. That "alter column" query does a full table scan, which can be painful for large tables. Couldn't that index be used instead? Thanks, Joe -- Sent

Re: [GENERAL] initdb error

2012-12-14 Thread Tom Lane
David Noel writes: > On 12/14/12, Tom Lane wrote: >> This corresponds to the execution of XLogFileInit(), and what's >> evidently happening is that we successfully create and zero-fill >> the first xlog segment file under a temporary name, but then >> the attempt to rename it into place with link

Re: [GENERAL] PgSQL 9.1: Warning - error 10061 on Windows, no error on Linux - but connection is broken

2012-12-14 Thread David Johnston
You do not log failed connection attempts from your Java application? Your desire is commendable but is your only advice: "don't set connection timeout to 2ms"? What could these products (not you, by setting up better logging) do to minimize the amount of time you had to spend diagnosing the prob

Re: [GENERAL] pg_restore error with out of memory

2012-12-14 Thread Kevin Grittner
AI Rumman wrote: > I modified the > shared_buffer=50 MB > and > maintenance_work_mem = 50 MB > > But still getting the same error. I hope you restarted the PostgreSQL server? If so, pg_restore might just need more RAM than that machine has to deal with that particular database. You might try a t

Re: [GENERAL] PgSQL 9.1: Warning - error 10061 on Windows, no error on Linux - but connection is broken

2012-12-14 Thread Edson Richter
Em 14/12/2012 18:14, David Johnston escreveu: You do not log failed connection attempts from your Java application? Can you imagine 100 users attempting (and failing) to get connection every 2 milliseconds would just drop all the server :-) Your desire is commendable but is your only advice:

Re: [GENERAL] Quickly making a column non-nullable (without a table scan)

2012-12-14 Thread Kevin Grittner
Joe Van Dyk wrote: > I have an index on a column that can be nullable. I decide the column > shouldn't be nullable anymore. So I alter the column to be not > nullable. > > That "alter column" query does a full table scan, which can be painful > for large tables. Couldn't that index be used instea

[GENERAL] Problems with a custom LOCALE

2012-12-14 Thread James B. Byrne
Having got the 9.2 instance running in parallel with the previous version I am now encountering this difficulty: Couldn't create database for {"adapter"=>"postgresql", "collate"=>"en_US.UTF-8", "ctype"=>"en_US.UTF-8", "encoding"=>"UTF8", "database"=>"hll_th_forex_development", "host"=>"inet01.hami

Re: [GENERAL] Problems with a custom LOCALE

2012-12-14 Thread Tom Lane
"James B. Byrne" writes: > PG::Error: ERROR: encoding "UTF8" does not match locale > "en...@-mmm-dd.utf-8" > DETAIL: The chosen LC_CTYPE setting requires encoding "LATIN1". > : CREATE DATABASE "hll_th_forex_test" ENCODING = 'UTF8' TEMPLATE = > "template1" > I am constructing this remotely u

Re: [GENERAL] initdb error

2012-12-14 Thread David Noel
> You need to talk to some FreeBSD kernel hackers about why link() > might be failing here. Since you see it on UFS too, we can probably > exonerate the ZFS filesystem-specific code. > > I did some googling and found that EPERM can be issued if the filesystem > doesn't support hard links (which sh