Skip to content

Commit 5e89899

Browse files
ernstbeBenjamin Ernst
andauthored
removing syscall when develop under appengine (#745)
This change add possibility to build lib/pq under appengine development server where syscall is not allowed. Co-authored-by: Benjamin Ernst <b.ernst@envisia.de>
1 parent 735e1d3 commit 5e89899

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

notify.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
package pq
22

3-
// Package pq is a pure Go Postgres driver for the database/sql package.
4-
// This module contains support for Postgres LISTEN/NOTIFY.
5-
63
import (
74
"context"
85
"database/sql/driver"

user_other.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Package pq is a pure Go Postgres driver for the database/sql package.
2-
3-
//go:build js || android || hurd || zos || wasip1
1+
//go:build js || android || hurd || zos || wasip1 || appengine
42

53
package pq
64

user_posix.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Package pq is a pure Go Postgres driver for the database/sql package.
2-
3-
//go:build aix || darwin || dragonfly || freebsd || (linux && !android) || nacl || netbsd || openbsd || plan9 || solaris || rumprun || illumos
1+
//go:build aix || darwin || dragonfly || freebsd || (linux && !android && !appengine) || nacl || netbsd || openbsd || plan9 || solaris || rumprun || illumos
42

53
package pq
64

user_windows.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// Package pq is a pure Go Postgres driver for the database/sql package.
1+
//go:build windows && !appengine
2+
23
package pq
34

45
import (

0 commit comments

Comments
 (0)