Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ else
endif

EXTENSION = pg_csv
EXTVERSION = 1.0
EXTVERSION = 1.0.1

DATA = $(wildcard sql/*--*.sql)

Expand Down
9 changes: 5 additions & 4 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
with import (builtins.fetchTarball {
name = "25.05";
url = "https://github.com/NixOS/nixpkgs/archive/refs/tags/25.05.tar.gz";
sha256 = "sha256:1915r28xc4znrh2vf4rrjnxldw2imysz819gzhk9qlrkqanmfsxd";
name = "2025-06-16";
url = "https://github.com/NixOS/nixpkgs/archive/e6f23dc08d3624daab7094b701aa3954923c6bbb.tar.gz";
sha256 = "sha256:0m0xmk8sjb5gv2pq7s8w7qxf7qggqsd3rxzv3xrqkhfimy2x7bnx";
}) {};
mkShell {
mkShellNoCC {
buildInputs =
let
xpg = import (fetchFromGitHub { owner = "steve-chavez";
Expand Down Expand Up @@ -46,6 +46,7 @@ mkShell {
style
styleCheck
loadtest
gcc15
];
shellHook = ''
export HISTFILE=.history
Expand Down
1 change: 1 addition & 0 deletions sql/pg_csv--1.0--1.0.1.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-- no SQL changes in 1.0.1
2 changes: 1 addition & 1 deletion src/aggs.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
const char NEWLINE = '\n';
const char DQUOTE = '"';
const char CR = '\r';
const char BOM[3] = "\xEF\xBB\xBF";
const char BOM[] = {0xEF, 0xBB, 0xBF};

static inline bool is_reserved(char c) {
return c == DQUOTE || c == NEWLINE || c == CR;
Expand Down
Loading